some changes

This commit is contained in:
PieckA 2024-05-25 13:24:49 +02:00
parent 59c5d5d860
commit db5bf928ac
2 changed files with 13 additions and 2 deletions

View file

@ -249,8 +249,7 @@ end
starship init fish | source
enable_transience
else
curl -sS https://starship.rs/install.sh | sh
exec fish
curl -sS https://starship.rs/install.sh | sh && exec fish
end
set colorscheme for bobthefish

View file

@ -11,6 +11,11 @@ if test ! -e $HOME/.config/fish/functions/fisher.fish
else
# ─< define plugins to use with fisher >────────────────────────────────────────────────────
set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
# ─< define dependencies for the plugins used by fisher >───────────────────────────────────
set dependencies "fzf"
# ─< forloop for the plugin installation/update >───────────────────────────────────────────
for plug in $plugin
if fisher update $plug
echo "Updated $plug"
@ -19,5 +24,12 @@ set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
echo "Installed $plug"
end
end
for dep in $dependencies
if ! command -v $dep >/dev/null 2>&1
$FISH_INSTALL $dep
end
end
end
# ──────────────────────────────────────< function end >──────────────────────────────────────
end