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