New source for new sps

This commit is contained in:
Jonas Forsberg 2020-06-04 12:47:57 +02:00
parent 65f0923823
commit ccdbd6417d
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

10
.bashrc
View File

@ -28,8 +28,16 @@ fi
[[ -f "$HOME/.functions.sh" ]] && source ~/.functions.sh [[ -f "$HOME/.functions.sh" ]] && source ~/.functions.sh
[[ -f "$HOME/Develop/sps/completion.sh" ]] && source ~/Develop/sps/completion.sh
[[ -f "$HOME/Develop/MyDot/completion.sh" ]] && source ~/Develop/MyDot/completion.sh [[ -f "$HOME/Develop/MyDot/completion.sh" ]] && source ~/Develop/MyDot/completion.sh
[[ "$(type -t dotf)" == "alias" ]] && [[ "$(type -t __git_complete)" == "function" ]] && __git_complete dotf _git [[ "$(type -t dotf)" == "alias" ]] && [[ "$(type -t __git_complete)" == "function" ]] && __git_complete dotf _git
[[ "$(type -t _todo)" == "function" ]] && complete -F _todo t [[ "$(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