Skip to content
/ up Public

Easily go up in deep folder structures in shell

License

Notifications You must be signed in to change notification settings

ianatha/up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

up

Tiny utility to move up deep folder structures in CLI

Manual Installation

Copy https://raw.githubusercontent.com/ianatha/up/master/up.py to a location of your choice.

For BASH and ZSH

Add:

up () { cd `/Users/jdoe/Downloads/up.py $*` }

to your ~/.bashrc or ~/.zshrc.

For FISH

Add

function up
    cd (/Users/jdoe/Downloads/up.py $argv)
end

to your ~/.fishrc.

Example Usage

/Users/jdoe/Developer/backend/src/main/java/com/example/service/db$ up example
/Users/jdoe/Developer/backend/src/main/java/com/example$ up 4
/Users/jdoe/Developer/backend/src$ cd -
/Users/jdoe/Developer/backend/src/main/java/com/example$ up
 0. example
 1. com
 2. java
 3. main
 4. src
 5. backend
 6. Developer
 7. jdoe
 8. Users
? 4
/Users/jdoe/Developer/backend/src$ up ~
/Users/jdoe$ echo I love up
I love up

About

Easily go up in deep folder structures in shell

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages