An open API service indexing awesome lists of open source software.

https://github.com/seokbeomkim/shell_shortcut

This is simple shell script to use shortcut in terminal environment
https://github.com/seokbeomkim/shell_shortcut

bash shortcuts-app

Last synced: about 1 month ago
JSON representation

This is simple shell script to use shortcut in terminal environment

Awesome Lists containing this project

README

          

* SHELL SHORTCUT
Simple script to use shortcuts in terminal environment.

** SCREENSHOTS

*You can create your own categories to manage shortcuts in terminal environment!*

[[https://github.com/seokbeomKim/shell_shortcut/blob/screenshot/shell_shortcut.gif]]

** USAGE
*** 1. Set *path_shortcut* file
Put your own categories and organize shortcuts as what you want like following:

#+BEGIN_SRC
$ cat path_shortcut
Kernel:/home/chaoxifer/workspace/LinuxKernel
Document:/home/chaoxifer/Documents/Org
Picture:/home/chaoxifer/Pictures/
MY_HDD:/run/media/chaoxifer/EX_EXT4
#+END_SRC

*** 2. Modify *bin_shortcut* file
Open *bin_shortcut* file and set values (*CONFIG_FILE* and *PATH_FILE*) to absolute path of *config_shortcut* and *path_shortcut*.
*** 3. Run *bin_shortcut*
You can move around with vim keymap (H,J,K,L). If you want to exit the script, press *q*. To change the WINDOW_MODE, use *n* key.

#+BEGIN_SRC bash
$ bin_shortcut -l
#+END_SRC

*** 4. Set alias to run script easily
If you want to run this script easily, set the alias for it like following example:

#+BEGIN_SRC bash
echo 'alias s="bin_shortcut -l"' >> ~/.zshrc # If you use bash shell, replace .zshrc to .bashrc . Also, you should make sure that bin_script is placed in $PATH directory.
#+END_SRC