Skip to content

Commit

Permalink
Merge pull request #25 from jshort/zsh_complete
Browse files Browse the repository at this point in the history
Zsh completion for -x, -p, -o.
  • Loading branch information
iridakos authored Mar 13, 2018
2 parents a4c77f3 + 3229e2a commit af41b6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions goto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,9 @@ _complete_goto_zsh()
'(- 1 2)'{-u,--unregister}'[unregisters an alias]:unregister:->unregister'
'(: -)'{-l,--list}'[lists aliases]'
'(*)'{-c,--cleanup}'[cleans up non existent directory aliases]'
'(1 2)'{-x,--expand}'[expands an alias]:expand:->aliases'
'(1 2)'{-p,--push}'[pushes the current directory onto the stack, then performs goto]:push:->aliases'
'(*)'{-o,--pop}'[pops the top directory from stack, then changes to that directory]'
'(: -)'{-h,--help}'[prints this help]'
'(* -)'{-v,--version}'[displays the version of the goto script]'
)
Expand Down

0 comments on commit af41b6f

Please sign in to comment.