Oh boy, my time to shine:
mkd- Create directory and immediatelycdinto itdei-docker exec -idps-docker psmdocker- Switch to minikube's docker contextn-nvimn.-nvim .
Node package managers
Exampes use pnpm but I have them for yarn, npm, and bun too
pi-pnpm installpd-pnpm run dev
fzf stuff
sdh- Search home directory (directories, recursive)
Meme
fuckyou-git push --forcenano-nvim
Misc
createpgdb - Create a postgres db on the given container with the given name
Usage: createpgdb "postgres container" "db name"
I have similar ones for dropdb and pg_dump. Here's the command:
f() { local __user; if [ -z $3 ]; then __user=postgres; else __user=$3; fi; docker exec -i $1 createdb -U $__user $2; unset -f f; }; f'