Commit graph

4 commits

Author SHA1 Message Date
Benedikt Heine
881d4a0340 nvim: set EDITOR variable only if installed
Since git core.editor was set in the initial commit, I suspect I wasn't
aware of $EDITOR in the environment. So it's safe to delete
git/gitconfig's core.editor and take it from $EDITOR by default, which
actually checks if nvim is installed.

for git's diff.tool and merge.tool, I don't see a possibility to have a
conditional switch and fallback to vim. I don't expect to work on
another workstation without neovim.
2026-01-27 00:18:58 +01:00
Benedikt Heine
0ca8701d46 nvim: enforce as default if installed 2026-01-27 00:11:48 +01:00
Benedikt Heine
16aad7f4c5 Adapt shebangs
Convert all shebangs to /usr/bin/env bash, if bash is really required in
the script. Otherwise convert it to /bin/sh.

/bin/bash is not available on all systems, while /usr/bin/env bash and
/bin/sh are.
2018-05-29 00:02:00 +02:00
Felix Buehler
86a1da2632 initial commit 2017-01-26 13:48:55 +01:00