Bookmarks for your terminal
Project description
term-mark • bookmarks for your terminal 📚
Bookmark directories to quickly jump to them later
Install
pip install term-mark
Because python cannot directly write to a terminals input buffer (stdin) and any directory changes to the terminal will revert after the program terminates, to make term-mark work you need to wrap the program execution in a shell function that runs term-mark which can facilitate directory navigation.
term-mark handles the setup for you, but before you can use tm
you need to run:
term-mark --init
This creates a shell function tm.zsh
in $HOME/.config/zsh/zsh_functions
and sources it your .zshrc file.
One last thing: you'll likely need to reload your .zshrc file
source $HOME/.zshrc
You can now use term-mark with tm
!
Uninstall
pip uninstall term-mark
Delete the shell function:
rm $HOME/.config/zsh/zsh_functions/tm.zsh
If you don't have anything else in this directory you can also delete the entire directory:
rm -r $HOME/.config/zsh/
Remove the following line from your .zshrc file:
source "$HOME/.config/zsh/zsh_functions/tm.zsh"
Attribution
This CLI tool includes code and components from the InquirerPy package created by kazhala, specifically a fork from Gracer
InquirerPy is a powerful Python library for creating interactive command-line interfaces.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for term_mark-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f1011df1c1b14dfa16c9e80b7b2045788eec55f9616df306f53f88b8f3d2d1d |
|
MD5 | 3b13c0988de2dcf604aea37acfad19b6 |
|
BLAKE2b-256 | 00e852bb81978d3ebe22111dc8e803f449697e417de292012e9acc0c1b1578be |