Skip to content
Browse files

update README

  • Loading branch information...
1 parent 44a8622 commit 6fd55431a1e5f37a9b50adb3c2161257e70f6fa1 @rupa committed Jun 25, 2009
Showing with 4 additions and 3 deletions.
  1. +2 −1 README.markdown
  2. +2 −2 j.sh
View
3 README.markdown
@@ -8,7 +8,8 @@ This is a complete rethink of [original j](http://github.com/rupa/j/). See CHANG
##### NOTE:
-I've immediately come across a computer I want this one with an old version of python I can't upgrade, so hey, look, a [pure shell version](http://gist.github.com/132429).
+I've been using this for ease of experimentation, but prefer a [pure shell version](http://github.com/rupa/z). for portability and ease of use.
+
### INSTALLATION
View
4 j.sh
@@ -42,7 +42,7 @@ j() {
cd "$cd"
fi
}
-# tab completion
-complete -C 'j --complete "$COMP_LINE"' j
+# tab completion (only works in bash for now)
+[ "$SHELL" = "/bin/bash" ] && complete -C 'j --complete "$COMP_LINE"' j
# populate directory list. avoid clobbering other PROMPT_COMMANDs.
PROMPT_COMMAND='j --add "$(pwd -P)";'"$PROMPT_COMMAND"

0 comments on commit 6fd5543

Please sign in to comment.
Something went wrong with that request. Please try again.