mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
This commit is contained in:
parent
ee56dc4a96
commit
4bf36130f4
1 changed files with 4 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ function keychain() {
|
|||
echo "Stopping agent"
|
||||
ssh-agent -k >/dev/null && [[ -f $ssh_env ]] && rm $ssh_env
|
||||
;;
|
||||
"status")
|
||||
[[ -f "$ssh_env" ]] && echo "$0: status is running" \
|
||||
|| echo "$0: status is stopped"
|
||||
;;
|
||||
*)
|
||||
echo "$0: invalid command $1" 2>&1
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue