From 9f8fd4773ed02624c05989b5d817ca5aa2aaaa21 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sat, 13 Jun 2020 17:17:25 +0200 Subject: [PATCH] new sps completion --- .bashrc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.bashrc b/.bashrc index 60e6643..8baab97 100644 --- a/.bashrc +++ b/.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)