Command line tools
Info
All of these command line tools can be installed by running setup-cli-tools.sh from mark-pitblado/dotfiles
Zoxide
Source code
ajeetdsouze/zoxide
Summary
Zoxide is a tool that remembers previous paths that you have been to through cd, allowing you to more easily navigate between directories. It can be aliased to cd so that it essentially functions like a smarter version of the same command.
Installation
For zoxide itself
cargo install zoxide --locked
For fzf
sudo apt install fzf
Within .zshrc
eval "$(zoxide init --cmd cd zsh)"
Note that this will allow for the use of cd
as normal, so that on systems that do not have zoxide installed, cd muscle memory is maintained.
Use
z foo # cd into highest ranked directory matching foo
z foo bar # cd into highest ranked directory matching foo and bar
z foo / # cd into a subdirectory starting with foo
z ~/foo # z also works like a regular cd command
z foo/ # cd into relative path
z .. # cd one level up
z - # cd into previous directory
zi foo # cd with interactive selection (using fzf)
z foo<SPACE><TAB> # show interactive completions (zoxide v0.8.0+, bash 4.4+/fish/zsh only)
Linked Documentation
Youtube video: https://www.youtube.com/watch?v=aghxkpyRVDY
iamb
This is a rust command line tool for navigating matrix chats with vim motions
Installation
cargo install --locked iamb
Keybindings
See iamb.chat for full documentation
Keybinding | Action |
---|---|
<C-w>m | Toggle focus between message bar and message scrollback |
Cargo Update
Source code
nabijaczleweli/cargo-update
A tool to automatically update all cargo installed tools on the system.
Run cargo install --list
to see a list of all cargo packages installed globally
Install
cargo install cargo-update
Usage
Update all packages.
cargo install-update -a
Update cargo-install
cargo-update
csvlens
Source code
YS-L/csvlens
An easy way to view csv files in the terminal.
Installation
It can be installed view cargo
cargo install csvlens
Usage
csvlens <filename>
Key | Action |
---|---|
hjkl (or ← ↓ ↑→ ) | Scroll one row or column in the given direction |
Ctrl + f (or Page Down ) | Scroll one window down |
Ctrl + b (or Page Up ) | Scroll one window up |
Ctrl + d (or d ) | Scroll half a window down |
Ctrl + u (or u ) | Scroll half a window up |
Ctrl + h | Scroll one window left |
Ctrl + l | Scroll one window right |
Ctrl + ← | Scroll left to first column |
Ctrl + → | Scroll right to last column |
G (or End ) | Go to bottom |
g (or Home ) | Go to top |
<n>G | Go to line n |
/<regex> | Find content matching regex and highlight matches |
n (in Find mode) | Jump to next result |
N (in Find mode) | Jump to previous result |
&<regex> | Filter rows using regex (show only matches) |
*<regex> | Filter columns using regex (show only matches) |
TAB | Toggle between row, column or cell selection modes |
> | Increase selected column’s width |
< | Decrease selected column’s width |
Shift + ↓ (or Shift + j ) | Sort rows by the selected column |
# (in Cell mode) | Find and highlight rows like the selected cell |
@ (in Cell mode) | Filter rows like the selected cell |
Enter (in Cell mode) | Print the selected cell to stdout and exit |
-S | Toggle line wrapping |
r | Reset to default view (clear all filters and custom column widths) |
H (or ? ) | Display help |
q | Exit |
Russ
Source code
ckampfe/russ
Russ is a rust based tui for reading RSS feeds.
Installation
cargo install russ --git https://github.com/ckampfe/russ
Usage
russ read
wiki-tui
Source code
Builditluc/wiki-tui
This is a tool for using wikipedia from the terminal.
Watch Out
This tool is currently undergoing a major refactoring (as of 2024-09-04) and may require changes in the future.
Installation
cargo install wiki-tui
Usage
Simply type wiki-tui
as a command and then search for articles.
q
is to exit the program. <Tab>
is to cycle between the main article and the table of contents.
ggshield
ggshield
is offered by gitguardian, and scans for secrets either on a repo or path level, or as a pre-commit or pre-push hook.
Installation
To add the deb package
curl -1sLf \
'https://dl.cloudsmith.io/public/gitguardian/ggshield/setup.deb.sh' \
| sudo -E bash
then
apt install ggshield
Add ggshield as a pre-commit hook to check for secrets before commits
ggshield install -m global
Dict
An offline dictionary in the commmand line.
Installation
sudo apt-get install dict dictd dict-gcide
Usage
dict <word>
Pik
A better way to view running processes
Installation
cargo install pil
Usage
pik
Ducker
A way to visualize actively running containers
Installation
cargo install ducker
Usage
ducker
btop
A process monitor for linux machines
Installation
sudo apt-get btop
Usage
btop
gdu
A disk usage analyzer written in go
Installation
sudo apt install gdu
Usage
Change directories to the one you wish to analyze
gdu
On This Page
- Zoxide
- Summary
- Installation
- Use
- Linked Documentation
- iamb
- Installation
- Keybindings
- Cargo Update
- Install
- Usage
- csvlens
- Installation
- Usage
- Russ
- Installation
- Usage
- wiki-tui
- Installation
- Usage
- ggshield
- Installation
- Add ggshield as a pre-commit hook to check for secrets before commits
- Dict
- Installation
- Usage
- Pik
- Installation
- Usage
- Ducker
- Installation
- Usage
- btop
- Installation
- Usage
- gdu
- Installation
- Usage