Rafian.com 【2026 Release】
# On macOS brew install fzf sudo apt install fzf
April 14, 2026
alias rm='trash' Deleted files go to your system Trash. You can restore them. This has saved my career at least twice. Pressing the up arrow 20 times is for beginners. Instead, type a partial command and press Ctrl+R . rafian.com
set completion-ignore-case on These five tricks take 30 minutes to set up but save me 2 hours every week. That is 100 hours per year .
Now, press Ctrl+T anywhere in your terminal. Start typing part of a filename. Instantly jump there. I save ~15 minutes a week just by not typing long paths. How often do you run ps aux | grep node then kill -9 1234 ? Too often. # On macOS brew install fzf sudo apt
brew install trash Now alias rm to trash in your shell config:
Let me know on Twitter/X @rafian (or in the comments below). Enjoyed this? Bookmark rafian.com for more practical dev and productivity posts every Tuesday. Pressing the up arrow 20 times is for beginners
Pro tip: I bound this to Ctrl+F in my terminal. Search your entire project in under 1 second. You deleted a file with rm ? On most systems, it’s gone forever. Not anymore.
