removing old packages..
This commit is contained in:
parent
f8288c581c
commit
93c8cbf810
2 changed files with 0 additions and 43 deletions
|
@ -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
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue