latest
This commit is contained in:
parent
c2e40957e7
commit
218a2d6af1
@ -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
|
||||||
|
@ -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
|
||||||
|
11
setup.sh
11
setup.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user