diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-19 20:17:19 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-19 20:17:19 -0700 |
commit | 3da2751575ecd194b35d5ff41fe3030b473aef53 (patch) | |
tree | edc0b6c43ca6a3c707d8f7b429b12c7f7d2e9d5d /home/xyz/.bashrc | |
parent | fc29f2ad4179eb1fd3e079a074a312e478d21cba (diff) |
new alias sa, add ssh key to agent if not there
Diffstat (limited to 'home/xyz/.bashrc')
-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 9496f1aa..e697ccde 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 sca='ssh ca' alias se='sudo -E ' alias sia='ssh ia' |