0.0.9 • Published 1 month ago

crrr v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

crrr

Lightning fast interactive directory switcher.

Controls

Arrow keys to move the cursor up and down.

< to cd into current directory and exit. > to cd into directory selected by the cursor and exit, or open selected file in $EDITOR (default to vim) if the selected file is not a directory. Return to cd into directory selected by the cursor and continue execution. ? to toggle visibility of hidden files. / to reset internal state of the app.

Start entering any text to search in the contents of the current directory.

This app uses /tmp directory to create a file named crrr with the name of the target directory, so that the shell can then cd into this directory. Hence this project might not currently be suitable for multi-user systems.

Install

# npm
$ npm install --global crrr
# yarn
$ yarn global add crrr

And add the following to your shell profile (.bashrc, .bash_profile, .zshrc, etc)

if [ -x "$(command -v init_crrr)" ]; then
  source init_crrr
fi

Commands

# start crrr in the current directory
$ c
# start crrr in your home directory
$ ch
# start crrr in the root directory
$ cr
0.0.9

1 month ago

0.0.8

1 month ago

0.0.7

1 month ago

0.0.6

1 month ago

0.0.5

1 month ago

0.0.4

1 month ago

0.0.3

1 month ago

0.0.2

1 month ago

0.0.1

1 month ago