This is terminal UI based cd
command written in Nim.
- Change directory
- Bookmark directory
- History of change directory
- Preview file
- Open file with $EDITOR
nimble install qwertycd
Or, download the binary from Release Page and drop it in your $PATH
.
https://github.com/minefuto/qwertycd/releases
Bash(.bashrc
)
function qcd() {
qwertycd
cd "`cat $HOME/.qwertycd/cache_dir`"
}
Zsh(.zshrc
)
function qcd() {
qwertycd
cd "`cat $HOME/.qwertycd/cache_dir`"
}
Fish(config.fish
)
function qcd
qwertycd
cd (cat $HOME/.qwertycd/cache_dir)
end
PowerShell(Microsoft.PowerShell_profile.ps1
)
function qcd() {
qwertycd
$path = $env:HOMEPATH + "\.qwertycd\cache_dir"
$file = Get-Content $path
Set-Location $file
end
Download qwertycd.toml
from the following and edit.
https://github.com/minefuto/qwertycd/blob/master/example/qwertycd.toml
macOS/Linux
Put to $HOME/.qwertycd/qwertycd.toml
Windows
Put to env:HOMEPATH\.qwertycd\qwertycd.toml
macOS, Linux, Windows