bash-workspace makes it easy to navigate the filesystem using context sensitive shortcuts.
This script implements workspaces for the terminal. The idea is to create one workspace per project (or context), and store a bunch of shortcuts to relevant folders in each workspace so that you quickly can jump from place to place.
Workspaces, including all shortcuts are stored in ~/.bash-workspace/log/<workspace-name>
.
This let you access your workspaces between sessions (in multiple terminals, etc.).
-
Download workspace.sh and place it in
/some/path/workspace.sh
-
Add the following to
~/.bashrc
alias bws='source /some/path/workspace.sh' bws autocomplete # If you chose another alias, run <another_alias> autocomplete <another_alias>
If you type bws
and click tab twice auto-complete will suggest all available commands.
Auto-complete will suggest available workspaces, including the current directory name
bws cw my_workspace
Auto-complete will suggest the current directory name
bws ln some_link_name
bws cd
Auto-complete will suggest links added using bws ln
bws cd some_link_name
Auto-complete will suggest links added using bws ln
bws rm <name>
bws empty
bws rm
bws reset
bws list
bws
bws help