Compare commits
3 Commits
7092b12ea3
...
17255dea08
Author | SHA1 | Date |
---|---|---|
Ray Elliott | 17255dea08 | |
Ray Elliott | d3d38a32b5 | |
Ray Elliott | a4ac428955 |
|
@ -17,8 +17,8 @@ if [ -h .tmux ] ; then
|
||||||
elif [ -f .tmux ] ; then
|
elif [ -f .tmux ] ; then
|
||||||
mv .tmux .tmux.backup
|
mv .tmux .tmux.backup
|
||||||
fi
|
fi
|
||||||
su ray -c 'git clone https://git.rayelliott.dev/dots/tmux.git .config/tmux'
|
su "$_user" -c 'git clone https://git.rayelliott.dev/dots/tmux.git .config/tmux'
|
||||||
su ray -c 'ln -bfs .config/tmux/tmux.conf .tmux.conf'
|
su "$_user" -c 'ln -bfs .config/tmux/tmux.conf .tmux.conf'
|
||||||
su ray -c 'ln -bfs .config/tmux/tmux .tmux'
|
su "$_user" -c 'ln -bfs .config/tmux/tmux .tmux'
|
||||||
cd .config/tmux
|
cd .config/tmux
|
||||||
ln -bfs tmux.colours-base16.conf tmux.colours.conf
|
ln -bfs tmux.colours-base16.conf tmux.colours.conf
|
||||||
|
|
|
@ -13,12 +13,12 @@ fi
|
||||||
mkdir -p /home/"$_user"/.config
|
mkdir -p /home/"$_user"/.config
|
||||||
cd /home/"$_user"
|
cd /home/"$_user"
|
||||||
rm -Rf .config/zsh
|
rm -Rf .config/zsh
|
||||||
su ray -c 'git clone https://git.rayelliott.dev/dots/zsh.git .config/zsh'
|
su "$_user" -c 'git clone https://git.rayelliott.dev/dots/zsh.git .config/zsh'
|
||||||
su ray -c 'git clone https://github.com/tarjoilija/zgen.git .config/zsh/zgen'
|
su "$_user" -c 'git clone https://github.com/tarjoilija/zgen.git .config/zsh/zgen'
|
||||||
su ray -c 'ln -bfs .config/zsh/zshrc .zshrc'
|
su "$_user" -c 'ln -bfs .config/zsh/zshrc .zshrc'
|
||||||
|
|
||||||
# set interactive shell
|
# set interactive shell
|
||||||
_zsh=$(command -v zsh)
|
_zsh=$(command -v zsh)
|
||||||
if [ -f "$_zsh" ] ; then
|
if [ -f "$_zsh" ] ; then
|
||||||
chsh ray -s "$_zsh"
|
chsh "$_user" -s "$_zsh"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -8,12 +8,13 @@ if ! command -v yarn ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v apt-get ; then
|
if command -v apt-get ; then
|
||||||
apt-get -y install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip
|
apt-get -y install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip python-pip python3-pip golang
|
||||||
cd /tmp
|
cd /tmp
|
||||||
git clone https://github.com/neovim/neovim
|
git clone https://github.com/neovim/neovim
|
||||||
cd neovim
|
cd neovim
|
||||||
make CMAKE_BUILD_TYPE=Release
|
make CMAKE_BUILD_TYPE=Release
|
||||||
mv /tmp/neovim/runtime /usr/local/share/nvim
|
mkdir -p /usr/local/share/nvim
|
||||||
|
mv /tmp/neovim/runtime /usr/local/share/nvim/runtime
|
||||||
mv /tmp/neovim/build/bin/nvim /usr/local/bin/nvim
|
mv /tmp/neovim/build/bin/nvim /usr/local/bin/nvim
|
||||||
else
|
else
|
||||||
echo "Error - no package installer found."
|
echo "Error - no package installer found."
|
||||||
|
@ -23,6 +24,11 @@ fi
|
||||||
mkdir -p /home/"$_user"/.config
|
mkdir -p /home/"$_user"/.config
|
||||||
cd /home/"$_user"
|
cd /home/"$_user"
|
||||||
rm -Rf .config/nvim
|
rm -Rf .config/nvim
|
||||||
su ray -c 'git clone https://git.rayelliott.dev/dots/nvim.git .config/nvim'
|
su "$_user" -c 'git clone https://git."$_user"elliott.dev/dots/nvim.git .config/nvim'
|
||||||
|
|
||||||
su ray --login -c 'yarn global add neovim'
|
su "$_user" --login -c 'yarn global add neovim'
|
||||||
|
|
||||||
|
su "$_user" --login -c 'python2 -m pip install --user --upgrade pynvim'
|
||||||
|
su "$_user" --login -c 'python3 -m pip install --user --upgrade pynvim'
|
||||||
|
|
||||||
|
su "$_user" --login -c 'nvim --headless +PlugInstall +qall'
|
||||||
|
|
Reference in New Issue