Created
January 27, 2011 23:50
-
-
Save tkf/799550 to your computer and use it in GitHub Desktop.
use j2 in zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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