This commit is contained in:
Jeffrey Paul 2021-10-14 09:44:50 +00:00
parent c2e40957e7
commit 218a2d6af1
3 changed files with 17 additions and 2 deletions

View File

@ -2,6 +2,8 @@
" i had problems when it was lower in the file.
let mapleader=","
let g:go_version_warning = 0
silent !mkdir -p ~/.nvim/plug > /dev/null 2>&1
silent !mkdir -p ~/.nvim/backup > /dev/null 2>&1
silent !mkdir -p ~/.nvim/undo > /dev/null 2>&1

View File

@ -1,5 +1,11 @@
alias vim="nvim"
alias vi="nvim"
export GOPATH="/usr/local/go"
if [[ ! -d $GOPATH ]]; then
sudo mkdir -p $GOPATH
chown $(whoami):$(whoami) $GOPATH
fi
export PATH="$PATH:$HOME/bin"
_byobu_sourced=1 . /usr/bin/byobu-launch

View File

@ -1,4 +1,5 @@
#!/bin/bash
source ./profile.sh
PKGS="
byobu
@ -10,6 +11,12 @@ sudo amazon-linux-extras install epel -y
sudo amazon-linux-extras install docker
sudo yum -y install $PKGS
sudo yum upgrade -y
byobu-launcher-install
byobu
# setup vim
echo "" | vim +PlugInstall +qall
vim +GoInstallBinaries +qall
vim +PlugInstall +qall
# configure byobu
byobu-launcher-install