μλ ,
λλ μ¬μ©νκ³ μλ€ :
μ zsh
μμ΄ν
2 λΉλ 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κ° μ¬μ ν μλνμ§ μλ κ² κ°μ΅λλ€.
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
λ μλν¨).
λλ μμ§λ κ·Έκ²μ μ΄ν΄νμ§ λͺ»νλ€
MacOS λ΄μ₯ ν°λ―Έλ+zshrcλ‘ μμ νλ λμ +1 iTerm2+zshrcμ ν¨κ» μλνμ§ μμ
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
λ μλν¨).