diff --git a/histd.sh b/histd.sh index a3c3b0c..26f6645 100755 --- a/histd.sh +++ b/histd.sh @@ -23,7 +23,7 @@ function edit_note { # Open editor cd $BASE_DIR $EDITOR $PATH_TO_FILE - cd - + cd - > /dev/null } function backup { @@ -31,7 +31,7 @@ function backup { ARCHIVE_PATH=~/histd-$(date +%F).tar.xz cd $BASE_DIR tar cfJ $ARCHIVE_PATH ../histd - cd - + cd - > /dev/null echo Saved to $ARCHIVE_PATH }