Skip to content

Instantly share code, notes, and snippets.

@keegoid
Last active May 4, 2020 23:57
Show Gist options
  • Select an option

  • Save keegoid/cbd2ac6f2be16266aba0e1554a93f759 to your computer and use it in GitHub Desktop.

Select an option

Save keegoid/cbd2ac6f2be16266aba0e1554a93f759 to your computer and use it in GitHub Desktop.
z.lua config for .bashrc
# z.lua will print the new directory after cd
export _ZL_ECHO=1
# z.lua enhanced matching with fzf tab completion
eval "$(lua ~/bin/z.lua --init bash enhanced once fzf)"
# don't break Prompt Command
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND;}history -a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment