From 93c8cbf810b4b2beb3622ecdbe246282676e5dca Mon Sep 17 00:00:00 2001 From: PieckA Date: Sat, 25 May 2024 18:58:21 +0200 Subject: [PATCH] removing old packages.. --- functions/c_fisher.fish | 26 -------------------------- functions/dep_fisher.fish | 17 ----------------- 2 files changed, 43 deletions(-) delete mode 100644 functions/c_fisher.fish delete mode 100644 functions/dep_fisher.fish diff --git a/functions/c_fisher.fish b/functions/c_fisher.fish deleted file mode 100644 index fe01323..0000000 --- a/functions/c_fisher.fish +++ /dev/null @@ -1,26 +0,0 @@ -# ╭───────────────────────────────────╮ -# │ This file holds the content to │ -# │ install and configure the plugins │ -# │ used by fisher, and of course the │ -# │ fisher itself │ -# ╰───────────────────────────────────╯ -function check_fisher - if not test -e $HOME/.config/fish/functions/fisher.fish - curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source - end - - # Define plugins to use with fisher - set plugins "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish" - - # Loop for plugin installation/update - for plugin in $plugins - if fisher list | grep -q (basename $plugin) - fisher update $plugin - echo "Updated $plugin" - else - fisher install $plugin - echo "Installed $plugin" - end - end - -end diff --git a/functions/dep_fisher.fish b/functions/dep_fisher.fish deleted file mode 100644 index 4694e2e..0000000 --- a/functions/dep_fisher.fish +++ /dev/null @@ -1,17 +0,0 @@ -function dep_fisher - # Define dependencies for the plugins used by fisher - set dependencies "fzf" - - # Check and install dependencies - for dep in $dependencies - if not command -v $dep >/dev/null 2>&1 - echo "Dependency $dep is not installed. Installing..." - if test -n "$FISH_INSTALL" - upin - $FISH_INSTALL $dep - else - echo "FISH_INSTALL is not defined ' $FISH_INSTALL '. Please install $dep manually." - end - end - end -end