changed alias and added dotf bash completion

This commit is contained in:
Jonas Forsberg 2020-04-30 08:11:18 +02:00
parent 4080342240
commit 73118647f9
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9
2 changed files with 3 additions and 1 deletions

2
.alias
View File

@ -2,5 +2,5 @@ alias rpmlistkeys="sudo rpm --query gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEAS
alias ip='ip -color'
alias weather='curl http://v2.wttr.in/Stockholm'
alias gpg='gpg2'
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
alias dotf='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
alias ls_dotfiels='/usr/bin/git --git-dir=$HOME/.dotfiles ls-tree --full-tree -r --name-only HEAD'

View File

@ -61,3 +61,5 @@ type go >/dev/null 2>&1 && export GOPATH=$(go env GOPATH)
[[ -f ~/.functions.sh ]] && source ~/.functions.sh
[[ -f ~/Develop/sps/completion.sh ]] && source ~/Develop/sps/completion.sh
[[ -f ~/Develop/MyDot/completion.sh ]] && source ~/Develop/MyDot/completion.sh
[[ "$(type -t dotf)" == "alias" ]] && [[ "$(type -t __git_complete)" == "function" ]] && __git_complete dotf _git