Skip to content

Instantly share code, notes, and snippets.

@tkf
Created January 27, 2011 23:50
Show Gist options
  • Save tkf/799550 to your computer and use it in GitHub Desktop.
Save tkf/799550 to your computer and use it in GitHub Desktop.
use j2 in zsh
export JPY=path/to/j2/j.py
source path/to/j2/j.sh
function j_precmd(){
j --add "$(pwd -P)"
}
precmd_functions+=(j_precmd)
compdef _files j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment