Miscellaneous command line utilities I find myself using frequently. Mostly just convenience wrappers around common Unix utilities.
kill-office.sh
- kill all currently-running LibreOffice processes (yes, I wrote this specifically for LibreOffice because it freezes that frequently on Mac OS.)svn-diff.sh
- likesvn diff
, but opens its output in a user-specified viewer (vim by default.)svn-info.sh
- likesvn info
, but you can specify a path on the local filesystem instead of its repository URL.svn-shotgun.sh
- run an svn command on multiple auto-detected directories.qdiff
- likediff -u
, but with colors. Works by running diff, writing its output to a temporary file, then opening that file with vim for colored syntax hilighting.qdu
- like recursivedu
, but lists just the immediate children of the given directory next to their respective sizes.sync-dotfiles.sh
- keep your local dotfile repos up-to-date with their remotes on GitHub.termcolors.sh
- print a table of terminal color codes.vim-git-bash.cmd
- double-click files in Windows's GUI to open them in Git Bash's Vim. Trivially modifiable to run any other Git Bash program (nvim, etc) as a handler for double-clicked files.