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)
|
set -p EDITOR (which nvim)
|
||||||
|
|
||||||
upin
|
upin
|
||||||
set_alias
|
# set_alias
|
||||||
dep_fisher
|
dep_fisher
|
||||||
check_fisher
|
check_fisher
|
||||||
plugs_fisher
|
plugs_fisher
|
||||||
|
|
|
@ -90,27 +90,34 @@ if command -v apk >/dev/null 2>&1
|
||||||
set search "$pkg search"
|
set search "$pkg search"
|
||||||
set ALIASSES "-- Alpine.. right, this fast os is evolving.. --"
|
set ALIASSES "-- Alpine.. right, this fast os is evolving.. --"
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
if test -n "$install"
|
if test -n "$install"
|
||||||
set FISH_INSTALL "$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"
|
set vars "install" "update" "search" "remove"
|
||||||
for env in $vars
|
for env in $vars
|
||||||
if not test -z "$env"
|
if not test -z "$env"
|
||||||
alias "$env"="$$env"
|
alias "$env"="$$env"
|
||||||
end
|
end
|
||||||
end
|
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 │
|
# │ 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