diff --git a/.oh-my-zsh/custom/aliases.zsh b/.oh-my-zsh/custom/aliases.zsh index 3689092..e69de29 100644 --- a/.oh-my-zsh/custom/aliases.zsh +++ b/.oh-my-zsh/custom/aliases.zsh @@ -1 +0,0 @@ -alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"' diff --git a/.oh-my-zsh/custom/dotfiles.zsh b/.oh-my-zsh/custom/dotfiles.zsh new file mode 100644 index 0000000..3127f4a --- /dev/null +++ b/.oh-my-zsh/custom/dotfiles.zsh @@ -0,0 +1,3 @@ +$ alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"' +source /usr/share/bash-completion/completions/git +__git_complete dotfiles __git_main