diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-19 20:17:19 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-22 22:03:54 -0700 |
commit | dd32af50eb28887917cfe4fa8e1e71e444b4a830 (patch) | |
tree | c194bd30808db9bf573107735070e36e1b6448ad | |
parent | f1d0da03bd9286ff6fc7a5d7730a0b9f72c8c92a (diff) |
new alias sa, add ssh key to agent if not there
-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 c3e7baf7..603b767f 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -78,6 +78,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' |