.profile: Add autocompletion for dot
bout gd time
This commit is contained in:
parent
6c2c3ac52b
commit
13bfb52d19
4
.profile
4
.profile
@ -262,6 +262,10 @@ fi
|
|||||||
if [ -d "$HOME/.dotfiles" ]; then
|
if [ -d "$HOME/.dotfiles" ]; then
|
||||||
dotcmd='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
dotcmd='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
||||||
alias dot="$dotcmd"
|
alias dot="$dotcmd"
|
||||||
|
if [ -f "/usr/share/bash-completion/completions/git" ] && [ "$_baseshell" == "bash" ]; then
|
||||||
|
. "/usr/share/bash-completion/completions/git"
|
||||||
|
__git_complete dot _git
|
||||||
|
fi
|
||||||
alias dotupdate="\
|
alias dotupdate="\
|
||||||
printf 'Pulling...\n'
|
printf 'Pulling...\n'
|
||||||
$dotcmd pull
|
$dotcmd pull
|
||||||
|
Loading…
Reference in New Issue
Block a user