1.0.2 • Published 6 years ago

todocs v1.0.2

Weekly downloads
5
License
ISC
Repository
github
Last release
6 years ago

toDocs

Easily change to your Documents directory on Windows Subsytem for Linux

What?

Look, the Windows Subsystem for Linux (WSL) is still new. We're all still learning the ropes and working with its (many) quirks. One of the more annoying quirks is that users' home directory structures are placed in the AppData folder of the Ubuntu package. This means accessing your Windows Documents folder requires you to navigate to /mnt/c/Users/%username%/Documents. While this really isn't a huge detail, it gets annoying typing all of that over and over. Thus, toDocs is born.

With a simple $ to-docs command from in the directory hierarchy, you will be transported to your Documents folder. This is done by placing a simple function at the end of your .bashrc file (don't worry, a backup is made before installation so you can revert at any time). Sure, this could be done using a simple alias, but aren't npm packages more fun? Which brings me to...

How?

$ npm install todocs
$ to-docs

That's it. For real. Now please continue using the valuable seconds you would have wasted typing $ cd commands to create something marvelous.

Note: do not install using sudo. Nor should you install using the -g flag. Doing either of these will cause issues with paths and permissions. You've been warned.

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago