News for hackers. Stuff that matters.
Re:Show HN: Nnn – unorthodox terminal file manager by bradly on Tuesday November 17, 2020 @03:29PM (#25129364)
I don't have dotfiles online, but many were inspired by this gist: 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`

Re:Show HN: Nnn – unorthodox terminal file manager by apjana on Wednesday November 18, 2020 @01:13PM (#25140195)
Thanks for sharing!