أهلا بك،
أنا استخدم:
zsh مع
iTerm 2 Build 3.0.0
بعد اتباع ملاحظات التثبيت اللاحقة وإضافة ما يلي إلى .zshrc
[[ -s /Users/max/.autojump/etc/profile.d/autojump.sh ]] && source /Users/max/.autojump/etc/profile.d/autojump.sh
autoload -U compinit && compinit -u
يبدو أن القفزة التلقائية لا تزال لا تعمل:
autojump git:master ❯ ls
AUTHORS bin tools
CHANGES.md docs tox.ini
LICENSE install.py uninstall.py
Makefile requirements-dev.txt
README.md tests
autojump git:master ❯ j tools
.
autojump git:master ❯ pwd
/Users/max/repos/autojump
autojump git:master ❯ j help
.
autojump git:master ❯ autojump help
.
نسيت شيئا ما هنا؟ شكرا لمساعدتك :)
من الملف التمهيدي :
Directories must be visited first before they can be jumped to.
أيضًا ، إنه j --help
للحصول على المساعدة ( man autojump
يعمل أيضًا).
ما زلت لا تحصل عليه
+1 لا يعمل مع iTerm2 + zshrc ، أثناء العمل مع Terminal + zshrc المدمج في MacOS
يبدو مرتبطًا بـ https://github.com/wting/autojump/issues/473#issuecomment -310117988
خطأي ، في عداد المفقودين هذا
# brew install autojump
Add the following line to your ~/.bash_profile or ~/.zshrc file:
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
If you use the Fish shell then add the following line to your ~/.config/fish/config.fish:
[ -f /usr/local/share/autojump/autojump.fish ]; and source /usr/local/share/autojump/autojump.fish
Restart your terminal for the settings to take effect. <-----
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
التعليق الأكثر فائدة
من الملف التمهيدي :
أيضًا ، إنه
j --help
للحصول على المساعدة (man autojump
يعمل أيضًا).