8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

*nix で cd での 移動をジャンプで効率化! z を 使おう!

Last updated at Posted at 2013-08-16

ナニコレ?

cd での移動ディレクトリを履歴保存して、ジャンプできて移動の効率化!

  • autojump-zsh が 要Python (今回は触れない)
  • z.sh がシェルスクリプト(?)
    注意) zsh ではなく、 z.sh です。

zsh使いなら効率改善のため知っておきたいAUTOJUMP - Glide Note - グライドノート

インストール

% brew install z

設定

.bashrc or .zshrc に以下を設定

  . `brew --prefix`/etc/profile.d/z.sh

z が押しにくいので j に変えている方もいるようです。

使い方

  • コマンドプロンプトで z の後に行きたいディレクトリ名の頭だけ入れてタブキーを押す
  • もう一度タブキーを押すと、ディレクトリの候補のリストが出る

forkバージョン

knu/z
https://github.com/knu/z

参考

8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?