diff --git a/.bashrc b/.bashrc index 2e9d70e..60e6643 100644 --- a/.bashrc +++ b/.bashrc @@ -28,8 +28,16 @@ fi [[ -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 [[ "$(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