Make session -p work remotely, also make host a flag
This commit is contained in:
@@ -34,7 +34,7 @@ __session_hosts() {
|
||||
}
|
||||
|
||||
_arguments \
|
||||
'(- *)'{-h,--help}'[Show usage information]' \
|
||||
'(- *)'{-p,--project}'[Create or attach to a session for a project in ~/Projects]:project:__session_projects' \
|
||||
':session:__session_sessions' \
|
||||
':host:__session_hosts'
|
||||
'(- : *)'{-h,--help}'[Show usage information]' \
|
||||
'(-H --host)'{-H,--host}'[Create or attach to the session on a remote host via ssh]:host:__session_hosts' \
|
||||
'(-p --project :)'{-p,--project}'[Create or attach to a session for a project in ~/Projects]:project:__session_projects' \
|
||||
'(-p --project)1:session:__session_sessions'
|
||||
|
||||
Reference in New Issue
Block a user