diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-19 20:17:19 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-23 05:02:39 +0000 |
commit | ba787e89baf896fa2edb67c194551427e39d4116 (patch) | |
tree | 02e306647dcb51d5fe3f65c4542ea27b2b99d4c3 /home | |
parent | 38be46a4511054bc66cddee3fb7c389261167db7 (diff) |
new alias sa, add ssh key to agent if not there
Diffstat (limited to 'home')
-rw-r--r-- | home/xyz/.bashrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index 2a765a71..a0342169 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -77,6 +77,7 @@ alias qre='qrencode -t utf8i -m 1' alias r='rem -cu+2 -@' # https://askubuntu.com/a/22043 alias s='sudo ' +alias sa='ssh-add -l || ssh-add' alias se='sudo -E ' alias sia='ssh ia' alias ska='ssh ka' |