Skip to content

Commit

Permalink
Update the dotfiles alias.
Browse files Browse the repository at this point in the history
  We tend to place the dotfiles in ~/git.
  • Loading branch information
skx committed Dec 13, 2012
1 parent 7c06cd1 commit 35380e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .bash/40-aliases
@@ -1,7 +1,8 @@
#
# For working with the dotfiles repository
#
alias .G='git --work-tree=$HOME --git-dir=$HOME/dotfiles.git'
[[ -d ~/git/dotfiles.git ]] && alias .DOTFILES='git --work-tree=$HOME --git-dir=$HOME/git/dotfiles.git'
[[ -d ~/dotfiles.git ]] && alias .DOTFILES='git --work-tree=$HOME --git-dir=$HOME/dotfiles.git'

#
# Coloured ls by default.
Expand Down

0 comments on commit 35380e1

Please sign in to comment.