Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanmisic/bashpast
Bashpast bookmarks your commands for easier repeated invocation
https://github.com/ivanmisic/bashpast
bash command-line-tool linux
Last synced: 2 months ago
JSON representation
Bashpast bookmarks your commands for easier repeated invocation
- Host: GitHub
- URL: https://github.com/ivanmisic/bashpast
- Owner: ivanmisic
- License: gpl-3.0
- Created: 2017-07-16T22:47:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-21T10:51:29.000Z (over 7 years ago)
- Last Synced: 2024-08-13T07:15:50.497Z (5 months ago)
- Topics: bash, command-line-tool, linux
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 15
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - ivanmisic/bashpast - Bashpast bookmarks your commands for easier repeated invocation (Shell)
README
# Bashpast
### Bashpast bookmarks your commands for easier repeated invocation* * *
## Install
1. git clone [email protected]:ivanmisic/bashpast.git
2. cd bashpast && make
3. append in **~/.bashrc** file the following line `source ~/.local/bin/bashpast.sh`## Shell Commands
bp s - Saves the last command in history as "bookmark_name"
bp e - Execute the command associated with "bookmark_name"
bp d - Deletes the bookmark with the "bookmark_name"
bp l - Lists all available bookmarks
## Example UsageSave a bookmark
$ echo "I will bookmark this command"
$ I will bookmark this command
$ bp s echoExecute a bookmarked command
$ bp e echo
$ I will bookmark this commandList all bookmarks
$ bp l
$ echo echo "I will bookmark this command"