diff options
-rw-r--r-- | .bash_profile | 4 | ||||
-rw-r--r-- | .bashrc | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile index 40853ae..efd1abf 100644 --- a/.bash_profile +++ b/.bash_profile @@ -18,4 +18,8 @@ export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc +# For vim fugitive dotfiles support +export GIT_DIR=$HOME/.cfg +export GIT_WORK_TREE=$HOME + [[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx "$XDG_CONFIG_HOME/X11/xinitrc" -- vt1 @@ -120,7 +120,6 @@ export VISUAL=vim export PS1='\[\033[35m\]\u@\h\[\033[37m\]:\[\033[0;34m\]\w\[\033[37m\]$ ' # Shell prompt export PAGER=most -alias cvim='GIT_DIR=$HOME/.cfg GIT_WORK_TREE=$HOME nvim' alias mv='mv -i' alias rm='rm -i' alias gs='git status' |