PortValhalla/scripts/Arch/Software/openssh/main.fish
2024-10-06 21:25:34 +02:00

23 lines
518 B
Fish
Executable file

#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
function installSW
yayinst \
openssh \
libfido2
end
function configureSW
sudo systemctl --global enable ssh-agent
and begin
printf %s\n \
"#!/bin/bash" \
'export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"'
end | sudo tee "/etc/profile.d/openssh.sh" >/dev/null
end
runInstaller $argv
end