Shell Tips
84 curated tips — shortcuts, workflows, and hidden features from Nirmal's Shell, including when conditional tools and integrations show up.
Run npkg search ripgrep to search nixpkgs
Available when nix is installed
Run fbr <query> to start the branch picker with that filter
Available when fzf is ready in an interactive shell
Run npkg remove with no arguments to select active installed packages
Available when nix and jq are installed and fzf is ready
Run croot to jump to the current Git repository root
Available when git is installed
Run upkg plan to list updates without installing anything
Available when paru, pacman, apt, dnf, brew, flatpak, nix, or npm is installed
Run fanprofile to show the current laptop performance profile
Available on a supported Linux laptop profile interface
Use NE to hide stderr or NUL to hide all output
Available when the G global alias is defined
Run upkg managers to show active and alternate backends
Available when paru, pacman, apt, dnf, brew, flatpak, nix, or npm is installed
Run upkg clean --dry-run before package cleanup
Available when paru, pacman, apt, dnf, brew, flatpak, nix, or npm is installed
Run ft <pattern> [path] to search file contents
Available when ripgrep or grep is installed
Use ff --no-ignore or ft --hidden --no-ignore to broaden a search
Available when fd, fdfind, or GNU find is installed
Run gun to undo the latest commit but keep changes staged
Available when git is installed
Run ff --pick <pattern> to choose a match and open it in your editor
Available when fzf is ready in an interactive shell
Use zi to select a remembered directory interactively
Available when zoxide is installed and fzf is ready
Run ports 8080 or ports nginx to narrow the listening sockets
Available when ss is installed
Run headers <url> to follow redirects and print HTTP headers
Available when curl is installed
Press Ctrl+R to search history and insert a command
Available when fzf is ready in an interactive shell
Press Tab after a custom command to see valid arguments
Always available
Use Ctrl+C during upkg to stop remaining managers and cleanup phases
Available when paru, pacman, apt, dnf, brew, flatpak, nix, or npm is installed
Use ztheme show custom to inspect; ztheme use custom applies the palette
Always available
Run checkupdates for a fresh Arch repo inventory without changing the live DB
Available when pacman, checkupdates, and fakeroot are installed
Run cgm list to show saved names without retrieving values
Available when cgm is loaded through secret-tool
Run cgm env OPENAI_KEY to load a credential into this shell
Available when cgm is loaded through secret-tool
Use z <query> to jump to a remembered directory
Available when zoxide is installed