Skip to content

Utility for storing often used and forgettable commands

License

Notifications You must be signed in to change notification settings

ShpylovyiRoman/shortc

Repository files navigation

shortc

This program is designed to facilitate interaction with the command line. With its help, you can record commands that you rarely use and often forget, and they will be available for your viewing at any time.

Usage

All commands are saved to the $HOME/.shortc.json file. You can change the path to the firectory, by setting SHORTC_PATH environment variable.

To add the command:

$ node shortc add --name "tar xvf source.tar.gz" --desc "Extract a (compressed) archive file into the current directory verbosely"

To list all the commands:

$ node shortc read

To find the command with regexp:

$ node shortc find "curl"

To remove the command by name:

$ node shortc remove "curl --user myusername:mypassword http://example.com"

To show the save path:

$ node shortc path

About

Utility for storing often used and forgettable commands

Resources

License

Stars

Watchers

Forks

Packages

No packages published