No description
Find a file
2021-01-28 01:12:55 +09:00
.github/workflows add windows support 2020-09-19 23:29:03 +09:00
example add bookmark/history mode 2020-09-25 15:57:43 +09:00
gif v0.1.2 2020-09-28 12:10:23 +09:00
src v0.1.3 2021-01-28 01:12:55 +09:00
.gitignore add all file 2020-09-10 03:11:07 +09:00
LICENSE Initial commit 2020-09-10 01:22:13 +09:00
qwertycd.nimble v0.1.3 2021-01-28 01:12:55 +09:00
README.md change directory configuration 2021-01-27 18:38:21 +09:00

qwertycd

GitHub GitHub release (latest by date)

This is terminal UI based cd command written in Nim.

Features

  • Change directory
  • Bookmark directory
  • History of change directory
  • Preview file
  • Open file with $EDITOR

Getting Started

1. Install the qwertycd binary.

nimble install qwertycd

Or, download the binary from Release Page and drop it in your $PATH.
https://github.com/minefuto/qwertycd/releases

2. Add the following to shell's config file.

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

Configurations

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

Supported OS

macOS, Linux, Windows