summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fish/conf.d/update.fish9
1 files changed, 3 insertions, 6 deletions
diff --git a/fish/conf.d/update.fish b/fish/conf.d/update.fish
index 51765c8..c04301e 100644
--- a/fish/conf.d/update.fish
+++ b/fish/conf.d/update.fish
@@ -23,15 +23,12 @@ function update::tools
set -a pids $last_pid
end
- if test -f ~/go/bin/do
- if test -f ~/go/bin/ask
+ if test -f ~/go/bin/ask
+ if test -f ~/go/bin/do
+ # Only remove the ask command when the do command is already installed!
rm ~/go/bin/ask
end
end
- # Obsolete moved to keepass
- if test -f ~/go/bin/foostore
- rm ~/go/bin/foostore
- end
for prog in tasksamurai timesamurai gt loadbars
echo "Installing/updating $prog from codeberg.org/snonux/$prog/cmd/$prog@latest"