diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-09-29 14:14:19 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-04 11:05:43 +0200 |
commit | c41eda256d7a963ee651b2532e9e18f76581fcfb (patch) | |
tree | 2c358a352b4f2c6a70f991a42e77560909917f8b /test/day-001.sh | |
parent | 9f1fed3ed1f77620334302616a6ed881ca78878d (diff) | |
download | calcurse-c41eda256d7a963ee651b2532e9e18f76581fcfb.tar.gz calcurse-c41eda256d7a963ee651b2532e9e18f76581fcfb.zip |
Do not hardcode paths to the default editor/pager
Use "vi" instead of "/usr/bin/vi" and "less" instead of "/usr/bin/less".
Hardcoding absolute paths is a bad idea:
$ uname -rsv
Linux 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 07:32:23 UTC 2011
$ which less
/bin/less
The "$PATH" environment variable will almost always have a better idea
of where these binaries are located.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test/day-001.sh')
0 files changed, 0 insertions, 0 deletions