some changes
This commit is contained in:
parent
59c5d5d860
commit
db5bf928ac
2 changed files with 13 additions and 2 deletions
|
@ -249,8 +249,7 @@ end
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
enable_transience
|
enable_transience
|
||||||
else
|
else
|
||||||
curl -sS https://starship.rs/install.sh | sh
|
curl -sS https://starship.rs/install.sh | sh && exec fish
|
||||||
exec fish
|
|
||||||
end
|
end
|
||||||
|
|
||||||
set colorscheme for bobthefish
|
set colorscheme for bobthefish
|
||||||
|
|
|
@ -11,6 +11,11 @@ if test ! -e $HOME/.config/fish/functions/fisher.fish
|
||||||
else
|
else
|
||||||
# ─< define plugins to use with fisher >────────────────────────────────────────────────────
|
# ─< define plugins to use with fisher >────────────────────────────────────────────────────
|
||||||
set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
|
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
|
for plug in $plugin
|
||||||
if fisher update $plug
|
if fisher update $plug
|
||||||
echo "Updated $plug"
|
echo "Updated $plug"
|
||||||
|
@ -19,5 +24,12 @@ set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
|
||||||
echo "Installed $plug"
|
echo "Installed $plug"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
for dep in $dependencies
|
||||||
|
if ! command -v $dep >/dev/null 2>&1
|
||||||
|
$FISH_INSTALL $dep
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
# ──────────────────────────────────────< function end >──────────────────────────────────────
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue