.bash_nav - GiselleSerate/myaliases GitHub Wiki

.bash_nav tested in bash (wsl)

Functions that allow for better file system navigation.


subl *

Goes to my install of Sublime Text 3.
UNDER CONSTRUCTION: This is being replaced by a more generalizable function written in C that uses a fork to open Sublime without hanging your terminal.

cmd

If you're on WSL, opens the Windows command line.

open

If you're on WSL, open opens the file or directory specified using its default Windows application.

src

Sources your .bashrc or .zshrc. Other shells are not yet supported; feel free to submit a pull request.