diff --git a/aws-export.sh b/aws-export.sh new file mode 100755 index 0000000..b75aa97 --- /dev/null +++ b/aws-export.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# source this script after adding your aws credentials: . aws-export.sh + +export AWS_ACCESS_KEY_ID="" +export AWS_SECRET_ACCESS_KEY="" diff --git a/scripts/initial.sh b/scripts/initial.sh index e906b1c..7bb0a68 100644 --- a/scripts/initial.sh +++ b/scripts/initial.sh @@ -6,11 +6,12 @@ IFS=$'\n\t' case $ID in "debian" ) - sudo apt update -y && sudo apt upgrade -y - sudo apt install vim git curl tmux stow ranger + sudo apt-get update -y && sudo apt-get upgrade -y + sudo apt-get install -y vim git curl tmux stow ranger cd /home/admin/ - git clone git@github.com:iskm/dots.git - mv .bashrc .bashrc.bak; mv .bash_profile .bash_profile.bak + git clone https://github.com/iskm/dots.git + if [[ -e .bashrc ]]; then mv .bashrc .bashrc.bak; fi + if [[ -e .bash_profile ]]; then mv .bash_profile .bash_profile.bak; fi cd dots stow bash bin git shellenv tmux vim ranger ;;