Skip to content

babarot/cdinterface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

⚠️ cdinterface is deprecated and was merged into this enhancd.

cdinterface

The next generation of change directory with peco

Description

cd command is one of the frequently used commands. Nevertheless, it is very inconvenient. cd interpret path (/home/john/dir1, ../../dir2) only. cd does not accept the directory name (dir3). The new cd command I have to hack interpret this. Take the log every time that you want to move, and to complement the directory path based on that log.

DEMO:

demo

Features

  1. Replace the existing cd command.
  2. It is possible to go to the directory where you have visited in the past.
  3. If a directory name is duplicated, it can be selected interactively with peco.
  4. If the argument is not given, it is possible to select the directory where you want to go.
  5. Combine with ghq and peco.
  6. Work on Bash ans Zsh

Requirements

Usage

$ cd <directory>

Installation

$ git clone https://github.com/b4b4r07/cdinterface
$ source cdinterface/cdinterface.sh

License

MIT

Author

BABAROT a.k.a. b4b4r07

About

The next generation of change directory with peco

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages