2024-07-15 10:10:06 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
|
|
|
source "$dir/../../Scripts/software.fish"
|
|
|
|
|
|
|
|
function installSW
|
|
|
|
yayinst \
|
|
|
|
openssh \
|
|
|
|
libfido2
|
|
|
|
end
|
|
|
|
|
|
|
|
function configureSW
|
2024-07-29 22:52:35 +00:00
|
|
|
sudo systemctl --global enable ssh-agent
|
2024-07-15 10:10:06 +00:00
|
|
|
|
2024-07-15 10:43:18 +00:00
|
|
|
and begin
|
2024-07-15 10:10:06 +00:00
|
|
|
printf %s\n \
|
|
|
|
"#!/bin/bash" \
|
|
|
|
'export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"'
|
2024-10-06 19:25:34 +00:00
|
|
|
end | sudo tee "/etc/profile.d/openssh.sh" >/dev/null
|
2024-07-15 10:10:06 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
runInstaller $argv
|
|
|
|
end
|