Skip to content

Instantly share code, notes, and snippets.

@japaz
Created August 22, 2016 07:58
Show Gist options
  • Save japaz/3973ee0ea7851c6f0eeb518cf05405ca to your computer and use it in GitHub Desktop.
Save japaz/3973ee0ea7851c6f0eeb518cf05405ca to your computer and use it in GitHub Desktop.
#compdef rscreen
# rscreen autocompletion for oh-my-zsh
# Requires: rscreen installed
_ssh
_arguments \
':hosts:_ssh_hosts' \
&& return 0
if (( CURRENT == 1 )); then
_describe -t commands "rscreen command"
return
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment