diff --git a/archive.tar.gz b/archive.tar.gz index 0ec280e..a7875f6 100644 Binary files a/archive.tar.gz and b/archive.tar.gz differ diff --git a/setup-dev-env.sh b/setup-dev-env.sh index 48bc99f..2d712e4 100755 --- a/setup-dev-env.sh +++ b/setup-dev-env.sh @@ -5,6 +5,8 @@ _install() { echo "Installing!" + echo "Installing base packages" + echo "Installing git, vim and fzf" exit 0 } @@ -32,42 +34,6 @@ _help() exit 1 } -_extract_notes() -{ - if [ ! -e "./archive.tar.gz" ]; - then - echo "archive.tar.gz does not exist." - exit 1 - fi - mkdir tmp - tar xzf archive.tar.gz -C . - cp -r ./tmp/wiki $(dirname $VIMWIKIPATH) - cp ./tmp/todo.txt $TODOTXTPATH - cp ./tmp/.vimrc $MYVIMRC - rm -r ./tmp - echo "Notes successfully extracted from archive." - exit 0 -} - -_storage_notes() -{ - mkdir tmp - cp $TODOTXTPATH ./tmp/ - cp -r $VIMWIKIPATH ./tmp/ - cp $MYVIMRC ./tmp/ - tar czf archive.tar.gz ./tmp/ - rm -r tmp - echo "Notes successfully stored!" - exit 0 -} - -_launch_notes() -{ - tmux new-session -d 'bash' - tmux new-window 'vim $TODOTXTPATH $VIMWIKIPATH/index.md' - tmux -2 attach-session -d -} - # main # check for the neccessary variables