Skip to content
/ dirx Public

select directory interactively and change into it, make switching among directories more easily

Notifications You must be signed in to change notification settings

Gyumeijie/dirx

Repository files navigation

dirx License: MIT

Select a directory from an options list and change into it.

Install

$ npm install -g dirx
$ dirx-cli install

$ git clone https://github.com/Gyumeijie/dirx.git
$ cd dirx
$ npm install
$ ./install.sh

!!! If dirx not found, please try to reopen a new terminal.

Usage

$ dirx-cli
Usage:
      dirx-cli install | uninstall
      dirx-cli set-strategy strategy("frequency" or "accessTime")
      dirx|d -c 
$ dirx

Feature

Support sorting accessed directories by frequency and access time. You can use different sorting strategy by:

$ dirx-cli set-strategy "frequency"

$ dirx-cli set-strategy "accessTime"