shellmark-0.3.0 is not a library.
shellmark: bookmark manager for shell
shellmark is a cross-platform bookmark mananger for your shell.
The main features are:
shellmark addto bookmark directories and files.shellmark browseto interactively search and act on bookmarks.
How to use
- Install
shellmarkfollowing installation instructions below. Make sureshellmarkis in yourPATH. - Integrate
shellmarkwith your shell following integration instructions below. This will add a shell aliass. The name of the alias is configurable. Runshellmark plug --helpto learn more. - Invoke
shellmarkviasshell alias.
Installation instructions
Pre-built binary
- Go to Releases page and download the binary for your OS.
- Rename the binary to remove the OS suffix, so it becomes just
shellmarkorshellmark.exe. - Drop the binary somewhere in your
PATH.
cargo install
- Run
cargo install shellmark. - The binary will be built and installed under a local Cargo folder, usually
$HOME/.cargo/bin. Make sure this directory is in yourPATH.
From source
Make sure you have Rust toolchain set up (1.49+ should work). Then run the following commands:
This will install shellmark under ~/.cargo/bin.
Integration with shell
Bash/Zsh
if type shellmark &>/dev/null; then
eval "$(shellmark --out posix plug)"
fi
Fish
if type -q shellmark
shellmark --out fish plug | source
end
PowerShell
if (Get-Command shellmark -ErrorAction SilentlyContinue) {
Invoke-Expression (@(&shellmark --out powershell plug) -join "`n")
}