diff --git a/archive.tar.gz b/archive.tar.gz index aeb2e75..c04f25b 100644 Binary files a/archive.tar.gz and b/archive.tar.gz differ diff --git a/dev-env.sh b/dev-env.sh index 1cedf11..bcc6868 100755 --- a/dev-env.sh +++ b/dev-env.sh @@ -9,8 +9,10 @@ _notes_locations_print() { echo "\t\ttodo.txt:\t$TODOTXTPATH" echo "\t\twiki:\t\t$VIMWIKIPATH" - echo "\t\tvimrc\t\t$MYVIMRC" - echo "\t\tlog.txt\t\t$LOGTXTPATH" + echo "\t\tvimrc:\t\t$MYVIMRC" + echo "\t\tlog.txt:\t$LOGTXTPATH" + echo "\t\tbashrc:\t\t$HOME/.bashrc" + echo "\t\trss feeds:\t$HOME/.config/newsraft/feeds" } _help() @@ -38,6 +40,8 @@ _extract_notes() cp ./tmp/todo.txt $TODOTXTPATH cp ./tmp/.vimrc $MYVIMRC cp ./tmp/log.txt $LOGTXTPATH + cp ./tmp/bashrc $HOME/.bashrc + cp ./tmp/rssfeeds $HOME/.config/newsraft/feeds rm -r ./tmp echo "Notes successfully extracted from archive." exit 0 @@ -50,6 +54,8 @@ _storage_notes() cp -r $VIMWIKIPATH ./tmp/ cp $MYVIMRC ./tmp/ cp $LOGTXTPATH ./tmp/ + cp $HOME/.bashrc ./tmp/bashrc + cp $HOME/.config/newsraft/feeds ./tmp/rssfeeds tar czf archive.tar.gz ./tmp/ rm -r tmp echo "Notes successfully stored!" @@ -126,6 +132,13 @@ then exit 1 fi +if [ -z "$RSSFEEDSPATH" ]; +then + echo "RSSFEEDSPATH not set." + exit 1 +fi + + # run the user's command case "$1" in