Reversed order of notes in 'notez' display
This commit is contained in:
@@ -8,7 +8,7 @@ noteb () {
|
|||||||
|
|
||||||
if [[ $# -eq 0 ]]; then
|
if [[ $# -eq 0 ]]; then
|
||||||
# No arguments, display the notes file
|
# No arguments, display the notes file
|
||||||
cat "$notes_file"
|
tac "$notes_file"
|
||||||
return 0
|
return 0
|
||||||
elif [[ "$1" == "-a" ]]; then
|
elif [[ "$1" == "-a" ]]; then
|
||||||
# Add a note with prompting (using Bash's read -p)
|
# Add a note with prompting (using Bash's read -p)
|
||||||
|
|||||||
Reference in New Issue
Block a user