- git-sweep: Clean up Git branches that have been merged into master
- bat: A cat(1) clone with wings
- rdfind: find duplicate files utility
Tip of the week: You can avoid manually working with temp files by using ZSH process substitution:
Example:
% echo "Banana
Apple
Cucumber" > /path/to/file1
% sort /path/to/file1 > /path/to/file1 # Fails!
# Solution with a temp file:
% temp1=$(mktemp)
% sort /path/to/file1 > "$temp1"
% mv "$temp1" /path/to/file1
# Solution with process substitution:
% mv =(sort /path/to/file1) /path/to/file1