Skip to content

EdgarsJoja/ccd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive CD command

Setup and simply run ccd in terminal.

Listing directories

Permission error

Keymap

Use keys up and down to choose directory.

Use right or enter to select chosen directory.

Use left or esc or backspace to go back.

Use h to toggle hidden directories.

Use t to switch between dark & light themes.

Use q to exit and cd into currently selected directory.

Use ctrl+c to exit without cd operation.

Shell Integration

Integration with various shells.

Bash/Zsh

ccd() {
  local start="${1:-$PWD}" dir
  dir="$("/path/to/ccd/binary" "$start")" || return
  [ -n "$dir" ] && builtin cd -- "$dir"
}

Todo

  • Directory filter
  • Help output
  • Persistent memory between runs
  • Status bar (hidden status, error message)

About

Interactive cd command

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages