0
0

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 1 year has passed since last update.

Zoxideの威力 もうcdはいらない

Posted at

Zoxideコマンド

これは、cdの完全上位互換のコマンドで
個人的にはこれは入れないと仕事できないレベル。

Macなら、いつもどおり、

brew install zoxide

でインストールできる。
基本的には、公式にインストール手順はすべて書いてある。

あとは、シェルごとにパスを通す必要がある。
zshなら、.zshrcに

eval "$(zoxide init zsh)"

を追記する。

公式にfzfのインストールも推奨しているので、
このタイミングで入れるのもあり。

brew install fzf

これでziコマンドが使えるようになる。

ziコマンドは、死ぬほど便利で、
zコマンドとかで行ったディレクトリパスとかを検索して、
移動できる。

階層が深いディレクトリの行き来もこれがあれば、
一瞬でできる。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?