From 9b1bfd1c6be8ce74dc5f3d8eaf2e2770cc74927d Mon Sep 17 00:00:00 2001 From: dmarakom6 Date: Tue, 4 May 2021 20:56:56 +0300 Subject: [PATCH] resetshellnotes: reset default shell --- shellnotes.sh | 1 - util/.hidden/.resetshellnotes.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/shellnotes.sh b/shellnotes.sh index 069980e..8139d24 100644 --- a/shellnotes.sh +++ b/shellnotes.sh @@ -1,6 +1,5 @@ - #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). diff --git a/util/.hidden/.resetshellnotes.sh b/util/.hidden/.resetshellnotes.sh index c6f7f72..b1f6b4f 100644 --- a/util/.hidden/.resetshellnotes.sh +++ b/util/.hidden/.resetshellnotes.sh @@ -13,6 +13,7 @@ function resetshellnotes() { echo "/usr/bin/gedit" > ~/.shellnotes/util/sd/sd-input1.txt echo "/bin/nano"> ~/.shellnotes/util/sd/sd-input2.txt echo "~/Notes" > ~/.shellnotes/util/sd/sd-input3.txt + sed -i '1d' ~/.shellnotes/.shellnotes.sh } case $1 in -f | --force )