Skip to content

Instantly share code, notes, and snippets.

@glidenote
Created April 13, 2012 08:06
Show Gist options
  • Save glidenote/2375020 to your computer and use it in GitHub Desktop.
Save glidenote/2375020 to your computer and use it in GitHub Desktop.
.zshrc for sheet
# sheet
compdef _sheets sheet
function _sheets {
local -a cmds
_files -W ~/.sheets/ -P '~/.sheets/'
cmds=('list' 'edit' 'copy')
_describe -t commands "subcommand" cmds
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment