Update .resetshellnotes.sh
This commit is contained in:
parent
931157ff40
commit
586031426e
1 changed files with 32 additions and 2 deletions
|
@ -6,14 +6,44 @@ in /docs/github/ for its full text.
|
||||||
info
|
info
|
||||||
|
|
||||||
function resetshellnotes() {
|
function resetshellnotes() {
|
||||||
|
DIR="$(pwd)"
|
||||||
proceed() {
|
proceed() {
|
||||||
echo "y\n" | clearlogs >/dev/null
|
echo "y\n" | clearlogs >/dev/null
|
||||||
echo "" > ~/.shellnotes/util/listnotes/output/*
|
echo "" > ~/.shellnotes/util/listnotes/output/*
|
||||||
echo "/usr/bin/gedit" > ~/.shellnotes/util/shellnotes/sd/sd-input1.txt
|
echo "/usr/bin/gedit" > ~/.shellnotes/util/shellnotes/sd/sd-input1.txt
|
||||||
echo "/bin/nano"> ~/.shellnotes/util/shellnotes/sd/sd-input2.txt
|
echo "/bin/nano"> ~/.shellnotes/util/shellnotes/sd/sd-input2.txt
|
||||||
echo "~/Notes" > ~/.shellnotes/util/shellnotes/sd/sd-input3.txt
|
echo "~/Notes" > ~/.shellnotes/util/shellnotes/sd/sd-input3.txt
|
||||||
sed -i '1d' ~/.shellnotes/.shellnotes.sh
|
reset="
|
||||||
|
|
||||||
|
#The first line is the user's default shell found during installation process.
|
||||||
|
#Warning! If you don't have gedit(text editor) or nano installed, you may have to change the default text editor (lines 10, 25, 40).
|
||||||
|
|
||||||
|
#The lines below must NOT be changed.
|
||||||
|
export DIR="$(pwd)"
|
||||||
|
. ~/.shellnotes/util/getv.sh
|
||||||
|
. ~/.shellnotes/def/defaults.sh
|
||||||
|
. ~/.shellnotes/util/ChMkDir.sh
|
||||||
|
. ~/.shellnotes/util/readnote.sh
|
||||||
|
. ~/.shellnotes/util/quickread.sh
|
||||||
|
. ~/.shellnotes/util/quicknote.sh
|
||||||
|
. ~/.shellnotes/util/newnote.sh
|
||||||
|
. ~/.shellnotes/util/delnote.sh
|
||||||
|
. ~/.shellnotes/util/listnotes.sh
|
||||||
|
. ~/.shellnotes/util/findnote.sh
|
||||||
|
. ~/.shellnotes/util/findmisplacednote.sh
|
||||||
|
. ~/.shellnotes/util/renamenote.sh
|
||||||
|
. ~/.shellnotes/util/notewc.sh
|
||||||
|
. ~/.shellnotes/util/notegrep.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
. ~/.shellnotes/util/shellnotes.sh
|
||||||
|
. ~/.shellnotes/util/.hidden/.clearlogs.sh
|
||||||
|
. ~/.shellnotes/util/.hidden/.resetshellnotes.sh
|
||||||
|
|
||||||
|
"
|
||||||
|
|
||||||
|
echo $reset > ~/.shellnotes/.shellnotes.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
case $1 in -f | --force )
|
case $1 in -f | --force )
|
||||||
|
|
Loading…
Reference in a new issue