Compare commits

...

2 Commits

Author SHA1 Message Date
18ce97d5b5 Merge branch 'master' of git.eeqj.de:sneak/amazonlinux2config 2021-10-14 09:44:58 +00:00
218a2d6af1 latest 2021-10-14 09:44:50 +00:00
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. " i had problems when it was lower in the file.
let mapleader="," let mapleader=","
let g:go_version_warning = 0
silent !mkdir -p ~/.nvim/plug > /dev/null 2>&1 silent !mkdir -p ~/.nvim/plug > /dev/null 2>&1
silent !mkdir -p ~/.nvim/backup > /dev/null 2>&1 silent !mkdir -p ~/.nvim/backup > /dev/null 2>&1
silent !mkdir -p ~/.nvim/undo > /dev/null 2>&1 silent !mkdir -p ~/.nvim/undo > /dev/null 2>&1

View File

@ -1,5 +1,11 @@
alias vim="nvim" alias vim="nvim"
alias vi="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" export PATH="$PATH:$HOME/bin"
_byobu_sourced=1 . /usr/bin/byobu-launch _byobu_sourced=1 . /usr/bin/byobu-launch

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
source ./profile.sh
PKGS=" PKGS="
byobu byobu
@ -10,6 +11,12 @@ sudo amazon-linux-extras install epel -y
sudo amazon-linux-extras install docker sudo amazon-linux-extras install docker
sudo yum -y install $PKGS sudo yum -y install $PKGS
sudo yum upgrade -y 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