Home

Awesome

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