Dev.to
7/8/2026

My favourite zsh/bash shortcuts (functions and aliases)
Short summary
A developer shares a curated collection of practical zsh/bash shortcuts built over years, emphasizing that simple aliases like clone and dir save more cumulative time than clever ones. The post includes git workflow helpers (cherry-pick, branch checkout, clean reset), file management functions (safe replace, mkdir override), and image conversion utilities for HEIC files. Several functions were AI-generated, and the author notes the compounding value of frequently-used small time-savers.
- •Practical zsh/bash aliases and functions for git, file management, and image conversion
- •Key shortcuts include git cherry-pick alias, smart branch checkout, and safe file replacement to Trash
- •Author emphasizes that simple, frequently-used shortcuts save more time than complex ones
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



