summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-31 19:07:20 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-31 19:42:58 +0100
commit6730e984c67f1eeefd2f6ce35d5990012c1e2beb (patch)
tree4ac0a67b634fa8c8c18cff32cfb078610881ceb6
parentce91e79b50df9e906518400e95b0b5a445f8e312 (diff)
Revert "Added exports for vim fugitive dotfiles support"
This reverts commit c0ebf26702aae176151d8829465729923912ab50.
-rw-r--r--.bash_profile4
-rw-r--r--.bashrc3
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'