Allow package install scripts to be chained properly
This commit is contained in:
parent
8d1c754106
commit
09e405bd9d
|
@ -5,7 +5,7 @@ begin
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
pacinst base-devel
|
pacinst base-devel
|
||||||
configureSW
|
and configureSW
|
||||||
end
|
end
|
||||||
|
|
||||||
function configureSW
|
function configureSW
|
||||||
|
|
|
@ -12,7 +12,7 @@ begin
|
||||||
gitflow-fishcompletion-avh \
|
gitflow-fishcompletion-avh \
|
||||||
gitflow-zshcompletion-avh
|
gitflow-zshcompletion-avh
|
||||||
|
|
||||||
fish "$dir/../../../Common/Software/git/main.fish" configure
|
and fish "$dir/../../../Common/Software/git/main.fish" configure
|
||||||
end
|
end
|
||||||
|
|
||||||
runInstaller $argv
|
runInstaller $argv
|
||||||
|
|
|
@ -12,7 +12,7 @@ begin
|
||||||
function configureSW
|
function configureSW
|
||||||
systemctl --global enable --now ssh-agent
|
systemctl --global enable --now ssh-agent
|
||||||
|
|
||||||
begin
|
and begin
|
||||||
printf %s\n \
|
printf %s\n \
|
||||||
"#!/bin/bash" \
|
"#!/bin/bash" \
|
||||||
'export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"'
|
'export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"'
|
||||||
|
|
|
@ -13,7 +13,7 @@ begin
|
||||||
) vim-wayland-clipboard-git \
|
) vim-wayland-clipboard-git \
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
|
||||||
configureSW
|
and configureSW
|
||||||
end
|
end
|
||||||
|
|
||||||
runInstaller $argv
|
runInstaller $argv
|
||||||
|
|
Loading…
Reference in a new issue