wting / autojump

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

Errors in Tmux #564

Open XueqiLi opened 5 years ago

XueqiLi commented 5 years ago

Inside of tmex, whenever I tried cd or j, I get an error autojump_chpwd:4: command not found: autojump. Autojump works fine outside of tmux.

Environment:

I have [ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh in the end of my .zshrc

stonegray commented 5 years ago

If you run SHELL=bash source /use/local/etc/profile.d/auto jump.sh does it fix it?

pspiagicw commented 5 years ago

I have the same problem but the above command does not solve it

andjelx commented 3 years ago

Add autojump things

[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh

to ~/.bash_profile or ~/.zprofile