diff --git a/config.fish b/config.fish index 31b719f..d354cb4 100644 --- a/config.fish +++ b/config.fish @@ -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 >───────────────────────────────────────────────────────────────────────── diff --git a/functions/c_fisher.fish b/functions/c_fisher.fish new file mode 100644 index 0000000..843195f --- /dev/null +++ b/functions/c_fisher.fish @@ -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