feat: move $HOME/.dotfiles to $HOME/.dotfiles.git
This commit is contained in:
parent
b0db49ed37
commit
bb099a294e
@ -16,6 +16,6 @@ alias root@site='ssh root@davidjulien.xyz'
|
|||||||
alias swytch@site='ssh swytch@davidjulien.xyz'
|
alias swytch@site='ssh swytch@davidjulien.xyz'
|
||||||
alias @webapps='ssh p1926178@192.168.75.57'
|
alias @webapps='ssh p1926178@192.168.75.57'
|
||||||
alias @projet='ssh p1926178@192.168.74.198'
|
alias @projet='ssh p1926178@192.168.74.198'
|
||||||
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
|
alias dotfiles='/usr/bin/git --git-dir=$DOTFILES --work-tree=$HOME'
|
||||||
alias abcde='abcde -c $XDG_CONFIG_HOME/abcde/config'
|
alias abcde='abcde -c $XDG_CONFIG_HOME/abcde/config'
|
||||||
alias abook='abook --config $XDG_CONFIG_HOME/abook/abookrc --datafile "$XDG_DATA_HOME"/abook/addressbook'
|
alias abook='abook --config $XDG_CONFIG_HOME/abook/abookrc --datafile "$XDG_DATA_HOME"/abook/addressbook'
|
||||||
|
@ -20,7 +20,7 @@ done
|
|||||||
|
|
||||||
[ "$flags" = "error" ] && echo "error: only one flag permitted" && exit 1
|
[ "$flags" = "error" ] && echo "error: only one flag permitted" && exit 1
|
||||||
|
|
||||||
git="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
|
git="/usr/bin/git --git-dir=$DOTFILES --work-tree=$HOME"
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
-*)
|
-*)
|
||||||
@ -63,4 +63,4 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
$cmd
|
eval $cmd
|
||||||
|
Reference in New Issue
Block a user