Skip to content

Instantly share code, notes, and snippets.

@hchbaw
Created February 23, 2011 15:37
Show Gist options
  • Save hchbaw/840569 to your computer and use it in GitHub Desktop.
Save hchbaw/840569 to your computer and use it in GitHub Desktop.
# zaw.zsh source for the elements of the directory stack.
# https://github.com/nakamuray/zaw
# Thank you very much, nakamuray!
zmodload zsh/parameter
function zaw-src-dirstack() {
: ${(A)candidates::=$dirstack}
actions=("zaw-callback-execute" "zaw-callback-replace-buffer" "zaw-callback-append-to-buffer")
act_descriptions=("execute" "replace edit buffer" "append to edit buffer")
}
zaw-register-src -n dirstack zaw-src-dirstack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment