addet fisher support
This commit is contained in:
parent
7b20e9126e
commit
222570be26
2 changed files with 15 additions and 0 deletions
|
@ -11,6 +11,7 @@ end
|
||||||
# ────────────────────────────────────────< sources >──────────────────────────────────────
|
# ────────────────────────────────────────< sources >──────────────────────────────────────
|
||||||
source $HOME/.config/fish/functions/git.fish
|
source $HOME/.config/fish/functions/git.fish
|
||||||
source $HOME/.config/fish/functions/tmux.fish
|
source $HOME/.config/fish/functions/tmux.fish
|
||||||
|
source $HOME/.config/fish/functions/c_fisher.fish
|
||||||
|
|
||||||
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
|
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
|
||||||
set -p EDITOR (which nvim)
|
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.. --"
|
set ALIASSES "-- Alpine.. right, this fast os is evolving.. --"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
check_fisher
|
||||||
|
|
||||||
# ──────────────────────────< END | distro/packagemanger detection >──────────────────────────
|
# ──────────────────────────< END | distro/packagemanger detection >──────────────────────────
|
||||||
|
|
||||||
# ─< colorized ls >─────────────────────────────────────────────────────────────────────────
|
# ─< colorized ls >─────────────────────────────────────────────────────────────────────────
|
||||||
|
|
12
functions/c_fisher.fish
Normal file
12
functions/c_fisher.fish
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue