diff options
| author | danix <danix@danix.xyz> | 2023-04-18 08:47:37 +0200 |
|---|---|---|
| committer | danix <danix@danix.xyz> | 2023-04-18 08:47:37 +0200 |
| commit | d1f115c1bcef830147519b1c3e950828b5626cdc (patch) | |
| tree | 6ce978c553d03838b6f6ef48b247a82e0203e5ef /SOURCE/CORE/core-remove.sh | |
| parent | 1f4d77422386502ce5a67b101be6d6f16eff2175 (diff) | |
| download | bash-notes-d1f115c1bcef830147519b1c3e950828b5626cdc.tar.gz bash-notes-d1f115c1bcef830147519b1c3e950828b5626cdc.zip | |
added git functionality to edit and remove options.
Diffstat (limited to 'SOURCE/CORE/core-remove.sh')
| -rw-r--r-- | SOURCE/CORE/core-remove.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SOURCE/CORE/core-remove.sh b/SOURCE/CORE/core-remove.sh index 7bbf8c4..24c7290 100644 --- a/SOURCE/CORE/core-remove.sh +++ b/SOURCE/CORE/core-remove.sh @@ -16,6 +16,7 @@ rmnote() { mv $TMPDB $DB # shellcheck disable=SC2086 rm $NOTESDIR/* + gitremove "all" echo "Deleted all notes" ;; * ) @@ -43,6 +44,7 @@ rmnote() { # shellcheck disable=SC2086 mv $TMPDB $DB rm $NOTESDIR/$FILE + gitremove $OK $FILE echo "Deleted note $TITLE" sleep 1 exit |
