From 6730e984c67f1eeefd2f6ce35d5990012c1e2beb Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Sun, 31 Oct 2021 19:07:20 +0100 Subject: Revert "Added exports for vim fugitive dotfiles support" This reverts commit c0ebf26702aae176151d8829465729923912ab50. --- .bash_profile | 4 ---- .bashrc | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.bash_profile b/.bash_profile index efd1abf..40853ae 100644 --- a/.bash_profile +++ b/.bash_profile @@ -18,8 +18,4 @@ 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 diff --git a/.bashrc b/.bashrc index 87e298b..1318559 100644 --- a/.bashrc +++ b/.bashrc @@ -89,7 +89,7 @@ fi # some more ls aliases alias ls='exa -F' alias ll='exa -laF' -alias lh='exa -ld .*' +alias lh='exa -ldF .*' # Add an "alert" alias for long running commands. Use like so: # sleep 10; alert @@ -120,6 +120,7 @@ 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 vim' alias mv='mv -i' alias rm='rm -i' alias gs='git status' -- cgit v1.2.3-70-g09d2