fish: standardize config structure

This commit is contained in:
2026-01-04 19:11:27 +01:00
parent 4e2a3ed796
commit 2fc4d242dd
14 changed files with 18 additions and 35 deletions
@@ -0,0 +1,14 @@
# ssh with encrypted private keys
# $ssh_keys should be set in advance or left empty to use the default keys
if type -q ssh
bass $(ssh-init) > /dev/null 2>&1
# avoid entering passphrase every time
function sshs
# test if keys are added to ssh-agent
if not ssh-add -l > /dev/null 2>&1
ssh-add $ssh_keys
end
ssh $argv
end
end