diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-07 22:28:23 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-07 22:28:23 +0300 |
| commit | d1ff8ad5f1e35dc865d34f1e722b8d91eaa8c97d (patch) | |
| tree | 2815c36bf90889fdf9f38b6595545aafa1d289ee /fish | |
| parent | 2185140e23fac18ca9fd2e7e2298dddb327b36ae (diff) | |
Update
Diffstat (limited to 'fish')
| -rw-r--r-- | fish/conf.d/update.fish | 9 |
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" |
