changed alias and added dotf bash completion
This commit is contained in:
parent
4080342240
commit
73118647f9
2
.alias
2
.alias
@ -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'
|
||||
|
2
.bashrc
2
.bashrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user