d は、ターミナル上で簡単にディレクトリを一覧表示し、ページごとに移動できる軽量なディレクトリナビゲーターです。
大量のフォルダがある場所でも、キーボードだけで素早く移動できます。
- ディレクトリをページ単位で表示(1ページあたり10件)
n/pで次ページ・前ページに移動- 数字入力でディレクトリを選択して移動
j/kまたは↑/↓でカーソル移動/で検索(部分一致)、cで検索クリア- 画面幅が十分な場合はカーソル位置のフォルダ内容をプレビュー表示(PowerShell版)
Enterで終了..は親ディレクトリとして特別表示
- Linux / macOS
- Bash, Zsh
- Windows
- PowerShell 5.1+ / PowerShell 7+
curl -fsSL https://d.kotoca.net/set.sh | bash
source ~/.bashrczsh を使っている場合は
source ~/.zshrcを実行してください。
iwr https://d.kotoca.net/set.ps1 -UseBasicParsing | iex
. $PROFILEd
Current: /home/user/projects
Page 1 / 3
--------------------
0) .. (parent)
1) backend
2) frontend
...
--------------------
0-9=select, n=next, p=prev, Enter=quit
0-9: 選択して移動j/kまたは↑/↓: カーソル移動(PowerShell版)/: 検索(部分一致・PowerShell版)c: 検索クリア(PowerShell版)n: 次のページp: 前のページEnter: 終了
source ~/.bashrc