Shell Tips
87 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 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 fanprofile to show the current laptop performance profile
Available on a supported Linux laptop profile interface
Use npkg find -- --help to search for the literal --help query
Available when nix and jq are installed and fzf is ready
Use NE to hide stderr or NUL to hide all output
Available when the G global alias is defined
Run upkg to check detected package managers; review warnings on stderr
Available when paru, pacman, apt, dnf, brew, flatpak, nix, or npm is installed
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
Use zi to select a remembered directory interactively
Available when zoxide is installed and fzf is ready
Run zdoctor in an interactive shell; repair blocked fzf and restart
Always available
Run headers <url> to follow redirects and print HTTP headers
Available when curl is installed
Run upkg outdated --only flatpak to include hidden extension update refs
Available when flatpak is installed
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 peek <file> for a quick file preview
Available when bat or cat is installed
Use ft --fixed-strings to search literal text
Available when ripgrep or grep is 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