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
- Host: GitHub
- URL: https://github.com/seokbeomkim/shell_shortcut
- Owner: seokbeomKim
- License: gpl-3.0
- Created: 2016-04-08T15:30:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-18T16:09:20.000Z (about 10 years ago)
- Last Synced: 2025-08-23T06:34:16.888Z (10 months ago)
- Topics: bash, shortcuts-app
- Language: Shell
- Size: 765 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
- License: LICENSE
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