diff --git a/config.fish b/config.fish index 8d6798c..567bd7c 100644 --- a/config.fish +++ b/config.fish @@ -16,7 +16,7 @@ source ./functions/setup.fish set -p EDITOR (which nvim) upin -set_alias +# set_alias dep_fisher check_fisher plugs_fisher diff --git a/functions/setup.fish b/functions/setup.fish index a6657ac..3482b0b 100644 --- a/functions/setup.fish +++ b/functions/setup.fish @@ -90,27 +90,34 @@ if command -v apk >/dev/null 2>&1 set search "$pkg search" set ALIASSES "-- Alpine.. right, this fast os is evolving.. --" end -end - if test -n "$install" set FISH_INSTALL "$install" -end -# ╭───────────────────────────────────────────────╮ -# │ FUNCTION: alias detection || depends on: upin │ -# ╰───────────────────────────────────────────────╯ -function set_alias -# ─< set variables to aliasses >──────────────────────────────────────────────────────────── - if upin set vars "install" "update" "search" "remove" for env in $vars if not test -z "$env" alias "$env"="$$env" end end - end end +end + +# ╭───────────────────────────────────────────────╮ +# │ FUNCTION: alias detection || depends on: upin │ +# ╰───────────────────────────────────────────────╯ +# function set_alias +# # ─< set variables to aliasses >──────────────────────────────────────────────────────────── +# if upin +# set vars "install" "update" "search" "remove" +# for env in $vars +# if not test -z "$env" +# alias "$env"="$$env" +# end +# end +# end +# end + # ╭──────────────────────────────────────────────────────────────────────────────────────────────────────╮ # │ FUNCTION: Define function gsa (to ask the user which submodule to clone to which path and which name │ # ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯