todocs

1.0.2 • Public • Published

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.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i todocs

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    44.1 kB

    Total Files

    8

    Last publish

    Collaborators

    • jessereitz