Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linhx/tbmk
A commands bookmark for terminal 🔖
https://github.com/linhx/tbmk
go golang terminal terminal-bookmark
Last synced: 6 days ago
JSON representation
A commands bookmark for terminal 🔖
- Host: GitHub
- URL: https://github.com/linhx/tbmk
- Owner: linhx
- License: mit
- Created: 2022-11-13T04:22:42.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-25T02:54:31.000Z (9 months ago)
- Last Synced: 2024-08-02T15:31:05.979Z (3 months ago)
- Topics: go, golang, terminal, terminal-bookmark
- Language: Go
- Homepage:
- Size: 3.35 MB
- Stars: 331
- Watchers: 4
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tbmk - Terminal bookmarker
![](https://github.com/linhx/tbmk/actions/workflows/go.yml/badge.svg)
A commands bookmark for terminal
![demo](./tbmk.gif)
## Worked on
- Linux: bash, zsh, fish
- Mac zsh## How to install
1. Download built file on release page
2. Extract the file. e.g. /somepath/tbmk
3. Run `cd /somepath/tbmk`
4. Run `./install` (don't install by execute `/absolute-path/install`), it will appends keybinding to `~/.bashrc`, `~/.zsh` and `~/.config/fish/config.fish`
5. Restart your shell or reload config file:
- `source ~/.bashrc # bash`
- `source ~/.zshrc # zsh`
- `source ~/.config/fish/config.fish #fish`## How to use
1. Search: type and `ctrl + space`
2. Delete: in the result screen, select the item then press `ctrl + d`
3. Add: `ctrl + t`. you can type the command first then press `ctrl + t`
4. Edit: Override the old one by add new command with the same title.The data are stored in `~/.tbmk`. You can backup or edit it directly.
TODO
- [ ] Windows
## Development
### Run
```shell
APP_ENV=dev go run .
```### Build
```shell
go build .
```