Compare commits
2 Commits
9e0fa13fce
...
407246ca08
Author | SHA1 | Date |
---|---|---|
Ray Elliott | 407246ca08 | |
Ray Elliott | e5e6cac049 |
|
@ -0,0 +1 @@
|
|||
files/private
|
|
@ -7,4 +7,4 @@ Development environment base packages:
|
|||
|
||||
## TODO
|
||||
|
||||
* add wakatime key when configuring neovim
|
||||
* add ssh keys to user so can use git - how to do securely??
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
Files in here are not kept under version control.
|
||||
|
||||
Sensitive files should be kept in here.
|
|
@ -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
|
||||
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
|
||||
|
||||
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,6 +23,16 @@ 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 ..."
|
||||
|
|
|
@ -52,3 +52,7 @@ 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"
|
||||
|
|
Loading…
Reference in New Issue