addet fisher support

This commit is contained in:
PieckA 2024-05-24 21:46:41 +02:00
parent 7b20e9126e
commit 222570be26
2 changed files with 15 additions and 0 deletions

View file

@ -11,6 +11,7 @@ end
# ────────────────────────────────────────< sources >──────────────────────────────────────
source $HOME/.config/fish/functions/git.fish
source $HOME/.config/fish/functions/tmux.fish
source $HOME/.config/fish/functions/c_fisher.fish
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
set -p EDITOR (which nvim)
@ -85,6 +86,8 @@ if command -v apk >/dev/null 2>&1
set ALIASSES "-- Alpine.. right, this fast os is evolving.. --"
end
check_fisher
# ──────────────────────────< END | distro/packagemanger detection >──────────────────────────
# ─< colorized ls >─────────────────────────────────────────────────────────────────────────

12
functions/c_fisher.fish Normal file
View file

@ -0,0 +1,12 @@
# ╭───────────────────────────────────╮
# │ This file holds the content to │
# │ install and configure the plugins │
# │ used by fisher, and of course the │
# │ fisher itself │
# ╰───────────────────────────────────╯
function check_fisher
if [[ ! -e $HOME/.config/fish/functions/fisher.fish ]]
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
end
end