3 ms·
I don't have dotfiles online, but many were inspired by this gist: https://gist.github.com/junegunn/8b572b8d4b5eddd8b85e5f4d40f17236 https://gist.github.com/jun
by bradly 6y ago
I don't have dotfiles online, but many were inspired by this gist: https://gist.github.com/junegunn/8b572b8d4b5eddd8b85e5f4d40f17236 https://gist.github.com/junegunn/8b572b8d4b5eddd8b85e5f4d40f...
For other things like files changed in current branch I've just kludged together aliases:
branch_files='git log --decorate --pretty=oneline --abbrev-commit --name-only --no-merges --first-parent main..HEAD | fpp'
(fpp extracts file paths from output)
If you use zsh it can also helpful to setup suffix aliases so just the filename is bound to an application. For instance `alias -s {rb,erb,rake,css,js}=vim`
- apjana 6y agoThanks for sharing!