wting / autojump

A cd command that learns - easily navigate directories from the command line
Other
16.3k stars 706 forks source link

tcsh install issue Ubuntu 14.4 #486

Open mikef656 opened 7 years ago

mikef656 commented 7 years ago

Cloned the repo for autojump today.

First I ran ./install.py

Seems to finish ok then prints the message Please manually add the following line(s) to ~/.tcshrc:

[[ -s /home/ptgd73/.autojump/etc/profile.d/autojump.sh ]] && source /home/ptgd73/.autojump/etc/profile.d/autojump.sh

The first part of the added lines section is a test in bash but the [[ operator does not exist in tcsh. This is the first bug.

That file exists for me in tcsh, therefore I manually source

source /home/ptgd73/.autojump/etc/profile.d/autojump.sh

and it produces BASH: Undefined variable. This is the 2nd bug.

At this point autojump does not seem to be working. For example: Change directories a few times and try

j -s

and get

j: Command not found

I am running Python 2.7.6 on Ubuntu 14.4

Thanks Mike

lozhou commented 5 years ago

have the issue solved ?

kiteloopdesign commented 4 years ago

Same issue here. Main page says tcsh "tcsh - community supported" though ...