about summary refs log tree commit diff stats
path: root/src/config/theme.h
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2022-03-27 21:44:32 +0300
committerPaul Fertser <fercerpav@gmail.com>2022-03-27 21:48:45 +0300
commit127254323758e36fb9f10c796908f37cdc127537 (patch)
tree3dd1c53c63c68e6015f9e6a9468060e69578a3f1 /src/config/theme.h
parent409268e2b6644b583a0e0c42648bb16d0cf6b3eb (diff)
downloadprofani-tty-127254323758e36fb9f10c796908f37cdc127537.tar.gz
Use EDITOR environment variable
When preferences do not specify a program to be used for /editor
command, try getting it from EDITOR (which POSIX.1-2017 calls one of
"variables that are frequently exported by widely used command
interpreters and applications"), fall back to "vim" if not set.
Diffstat (limited to 'src/config/theme.h')
0 files changed, 0 insertions, 0 deletions