tried out a different FISH_INSTALL variable config
This commit is contained in:
parent
082c9f30ab
commit
8f47b65f6d
1 changed files with 10 additions and 6 deletions
|
@ -97,8 +97,12 @@ function upin
|
||||||
set search "$pkg search"
|
set search "$pkg search"
|
||||||
set ALIASES "-- Alpine.. right, this fast os is evolving.. --"
|
set ALIASES "-- Alpine.. right, this fast os is evolving.. --"
|
||||||
end
|
end
|
||||||
|
if set -q unattendet
|
||||||
|
set -U FISH_INSTALL $unattendet
|
||||||
|
else
|
||||||
|
set -U FISH_INSTALL $install
|
||||||
|
end
|
||||||
if test -n "$install"
|
if test -n "$install"
|
||||||
set -U FISH_INSTALL ${unattendet:=$install}
|
|
||||||
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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue