new sps completion
This commit is contained in:
parent
dc43f5bdba
commit
9f8fd4773e
9
.bashrc
9
.bashrc
@ -33,11 +33,4 @@ fi
|
||||
[[ "$(type -t dotf)" == "alias" ]] && [[ "$(type -t __git_complete)" == "function" ]] && __git_complete dotf _git
|
||||
[[ "$(type -t _todo)" == "function" ]] && complete -F _todo t
|
||||
|
||||
if [[ "$(type -t sps)" == "file" ]];then
|
||||
if [[ -f "$HOME/.sps.completion" ]];then
|
||||
source "$HOME/.sps.completion"
|
||||
else
|
||||
sps completion bash > "$HOME/.sps.completion"
|
||||
source "$HOME/.sps.completion"
|
||||
fi
|
||||
fi
|
||||
[[ "$(type -t _todo)" == "function" ]] && source <(sps completion bash)
|
||||
|
Loading…
Reference in New Issue
Block a user