Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 720 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 720 Bytes

upto

Gets you to a parent folder, heavily inspired by the plugin upto made by driv.

Install

With fisherman

fisher add markcial/upto

Usage

Inside /home/username/Projects/project_a/src/Core

$ upto Projects
$ pwd
/home/username/Projects

It works on directories with non ASCII characters if the charset used is UTF-8.

Inside /home/weiß/projekten/src/Core

$ upto weiß
$ pwd
/home/weiß

You can use it inside directories with spaces too.

Inside /home/User/My Documents/xls/2016/essays

$ upto "My Documents"
$ pwd
/home/User/My Documents