arrow

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

🔛 arrow

License

image

arrow is a CLI tool specialized for moving directories that can be used as a cd replacement.

To move directories, simply use the up, down, left, and right arrow keys to select the directory and press the Enter key.

Install

$ go install github.com/harehare/arrow@latest
Zsh
function ao() {
  cd $(arrow --icons)
}

Usage

Key binding Description
Up, Down Move cursor
Right Move directory
Enter Select directory
Shift+Down Change order (directory name, modified time)
Ctrl+c Exit
USAGE:
   arrow [options]

OPTIONS:
   --all, -a                Show hidden files. (default: false)
   --icons, -i              Display icons. (default: false)
   --query value, -q value  Specifies a query to search the directory.
   --help, -h               show help
   --version, -V            print only the version (default: false)

Customization

ANSI 256 Colors or HEX

export ARROW_BORDER_COLOR="80"
export ARROW_CURRENT_DIRECTORY_COLOR="57"
export ARROW_CURSOR_COLOR="57"
export ARROW_DISABLED_COLOR="240"
export ARROW_FOREGROUND_COLOR="#009CD1"
export ARROW_HIGHLIGHT_COLOR="80"
export ARROW_PROMPT_COLOR="36"
export ARROW_SYMLINK_COLOR="36"

Run

just run

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址