Possible causes for autojump failure in CentOS 7
UseYum install autojumpAfter installation, you will findAutojump xxxThe command does not do anything, but if you want to use the abbreviationJ xxx, Will receive a prompt
Zsh: j: command not found... zsh: command not found: j"
Generally, people will remind you to add a line in. zshrc.Plugins = (git autojump)But if you have a look. oh-my-zsh/plugins/autojump. plugin. zsh files, zsh tries to load a file named/etc/profile. d/autojump. zsh file, but this file does not exist. This is the problem-_-|
View the github homepage of autojump and find the following sentence in the document: "RedHat, Fedora, CentOS (install autojump-zsh for zsh, autojump-fish for fish, etc .) ", so it is not enough to install autojump. You must install the autojump-zsh rpm package.
This lesson tells us that we should not trust anything in others' blogs. The documents are official and reliable...