shellnotes/def/defaults.sh

23 lines
756 B
Bash
Raw Normal View History

2021-02-01 16:39:16 +01:00
:<<'info'
shellnotes - defaults.sh
(C) Dimitris Marakomihelakis
Released under the "All rights reserved" category. See the RIGHTS.txt file
in /docs/github/ for its full text.
info
2023-08-20 19:37:24 +02:00
if [ $(cat "$HOME/.shellnotes/util/shellnotes/sd/sd-input1.txt") = ".shellnotes/sne/sne.py" ]; then
function NOTES_EDITOR() {
if [ -n "$1" ]; then
python3 $(cat $HOME/.shellnotes/util/shellnotes/sd/sd-input1.txt) "$1"
else
python3 $(cat $HOME/.shellnotes/util/shellnotes/sd/sd-input1.txt)
fi
}
else
NOTES_EDITOR() { eval cat $HOME/.shellnotes/util/shellnotes/sd/sd-input1.txt }
fi
2021-07-05 10:50:01 +02:00
QUICK_NOTES_EDITOR="$(eval cat ~/.shellnotes/util/shellnotes/sd/sd-input2.txt)"
DEFAULT_PATH="$(eval echo $(cat ~/.shellnotes/util/shellnotes/sd/sd-input3.txt))"
2021-02-01 16:39:16 +01:00