changed fisher config
This commit is contained in:
parent
3a0f03caa6
commit
191c06b390
2 changed files with 18 additions and 11 deletions
|
@ -16,7 +16,7 @@ source ./functions/setup.fish
|
|||
set -p EDITOR (which nvim)
|
||||
|
||||
upin
|
||||
set_alias
|
||||
# set_alias
|
||||
dep_fisher
|
||||
check_fisher
|
||||
plugs_fisher
|
||||
|
|
|
@ -90,18 +90,9 @@ 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"
|
||||
|
@ -109,8 +100,24 @@ alias "$env"="$$env"
|
|||
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 │
|
||||
# ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue