<p>autojump tidak berfungsi dengan zsh dan iterm2</p>

Dibuat pada 3 Jun 2016  ·  3Komentar  ·  Sumber: wting/autojump

Halo yang disana,

Saya menggunakan:
zsh dengan
iTerm 2 Build 3.0.0

Setelah mengikuti catatan instalasi posting dan menambahkan yang berikut ini ke .zshrc saya

[[ -s /Users/max/.autojump/etc/profile.d/autojump.sh ]] && source /Users/max/.autojump/etc/profile.d/autojump.sh

autoload -U compinit && compinit -u

autojump tampaknya masih tidak berfungsi:

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
.

apakah saya melewatkan sesuatu di sini? Terima kasih atas bantuan Anda :)

Komentar yang paling membantu

Dari readme :

Directories must be visited first before they can be jumped to.

Juga, j --help untuk mendapatkan bantuan ( man autojump juga berfungsi).

Semua 3 komentar

Dari readme :

Directories must be visited first before they can be jumped to.

Juga, j --help untuk mendapatkan bantuan ( man autojump juga berfungsi).

saya masih tidak mengerti

+1 tidak berfungsi dengan iTerm2+zshrc, saat bekerja dengan Terminal+zshrc bawaan MacOS


tampaknya terkait dengan https://github.com/wting/autojump/issues/473#issuecomment -310117988

salahku, melewatkan yang ini

# 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
Apakah halaman ini membantu?
0 / 5 - 0 peringkat