Collection of useful functions and aliases for fish shell
Download or clone the repository, then run the install.bash script. You'll
have to confirm replacements file-by-file, or enter "a" to replace all the
existing functions in your fish config directory.
The ls function will, instead of the usual ls binary, try to use eza or exa,
if either of them is installed on the system.
Other shorthands for common ls usages:
l: short forlsla: short forls -all: short forls -llla: short forls -l -a
Functions that aim to assist with using Docker:
dps: prints Docker container status, but without network infodpsq: prints Docker container IDsdpp: prints Docker container network info (networks and ports)dbash: executes bash interactively in a running containerdsh: executes sh interactively in a running containerdbinds: prints bind-mounts and volumes of containersdip: prints container IP addresses
Providing shorthand forms of common git usages:
gs:git statusgf:git fetchgp:git pullgch:git checkoutgl:git log --pretty=oneline -n 20gadd:git addgap:git add --patchgd:git diffgds:git diff --staged
venv: Python virtual environment utility (activation, deactivation, creation)psgrep: find a running process by name using a patternclip: copy stdin to the clipboard, usingxclipheil:headandtailat the same timecat: will usebat, if availabletree: will useeza --tree, if available
and many others!