Compare commits

..

No commits in common. "407246ca0875620cca6368f4d8220047167629d6" and "9e0fa13fcebefa142362c2017cf6ea5814fa5176" have entirely different histories.

5 changed files with 2 additions and 20 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
files/private

View File

@ -7,4 +7,4 @@ Development environment base packages:
## TODO
* add ssh keys to user so can use git - how to do securely??
* add wakatime key when configuring neovim

View File

@ -1,3 +0,0 @@
Files in here are not kept under version control.
Sensitive files should be kept in here.

View File

@ -5,7 +5,7 @@ _home_dir="/home/$user"
ssh -T $ssh << EOSSH
echo "Installing packages .."
apt-get -y install curl gnupg2 ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip python-pip python3-pip fzf vim ctags
apt-get -y install curl gnupg2 ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip python-pip python3-pip fzf
echo "Installing lazygit .."
curl -fsSL https://github.com/jesseduffield/lazygit/releases/download/v0.22.1/lazygit_0.22.1_Linux_x86_64.tar.gz --output /tmp/lazygit.tar.gz
@ -23,16 +23,6 @@ cd /tmp/neovim
make CMAKE_BUILD_TYPE=Release
make install
if command -v php ; then
echo "Installing composer .."
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '8a6138e2a05a8c28539c9f0fb361159823655d7ad2deecb371b04a83966c61223adc522b0189079e3e9e277cd72b8897') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php --filename=composer --install-dir=/usr/local/bin
php -r "unlink('composer-setup.php');"
fi
exit
su "$user"
echo "Installing nvm ..."

View File

@ -52,7 +52,3 @@ EOSSH
ssh -T $ssh << EOSSH
chsh -s /usr/bin/zsh "$user"
EOSSH
echo "Configuring wakatime plugin .."
pwd
scp files/private/wakatime.cfg "$user@$domain:/home/$user/.wakatime.cfg"