Linux cli command for bookmarking latest command in history with accompanying GUI for browsing and managing bookmarks.
Install the code from NPM repository:
$ npm install blarst
Register/install globally to run as executable command from anywhere:
$ sudo npm install -g blarst
To enable autocompletion on commandline add "source ~/.config/blast/completion.sh" to your bashrc file.
$ bin/console doctrine:migrations:migrate
(some doctrine output)
...etc
$ blast as migrate
Bookmark "migrate" created for:
bin/console doctrine:migrations:migrate
$ █
$ blast migrate
(some doctrine output)
...etc
$ █
$ blast show migrate
Bookmark doctrine:
bin/console doctrine:migrations:migrate
$ █
$ blast show $
$ blast delete migrate
Deleting bookmark: doctrine
$ █
Run "blast" command without parameters to open GUI.
The GUI shows a list of all bookmarked commands. Writing the name of the command and pressing enter executes the command.
Tab completion on bookmark names is supported. Tab completion will also filter the list to show only the matching bookmarks.
- Comment for bookmark
- Linewrapping of commands in list