uodate formatting, add verbosity

This commit is contained in:
Ray Elliott 2020-09-04 22:08:53 +01:00
parent f7ec743fd1
commit 1f4bbc6a10
3 changed files with 10 additions and 5 deletions

View File

@ -5,3 +5,7 @@ Development environment base packages:
* lf
* lazygit
## TODO
* add verbose options to commands
* install-wordpress.sh - move virtual host to files/

View File

@ -59,3 +59,4 @@ fi
if [ -n "$dev_env" ] ; then
. "$_script_dir/install-dev-base.sh"
fi

View File

@ -11,12 +11,12 @@ apt-get -y install curl gnupg2 ninja-build gettext libtool libtool-bin autoconf
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
tar xf /tmp/lazygit.tar.gz -C /usr/local/bin/
rm /tmp/lazygit.tar.gz
rm -v /tmp/lazygit.tar.gz
echo "Installing lf ..."
curl -fsSL https://github.com/gokcehan/lf/releases/download/r16/lf-linux-amd64.tar.gz --output /tmp/lf.tar.gz
tar xf /tmp/lf.tar.gz -C /usr/local/bin/
rm /tmp/lf.tar.gz
rm -v /tmp/lf.tar.gz
echo "Installing neovim ..."
git clone https://github.com/neovim/neovim /tmp/neovim
@ -64,7 +64,7 @@ nvim --headless +PlugInstall +qall
echo "Configuring lf .."
lf config
if [ -e "$_home_dir/.config/lf" ] ; then
mv "$_home_dir/.config/lf" "$_home_dir/.config/lf-original-$(date +%s)"
mv -v "$_home_dir/.config/lf" "$_home_dir/.config/lf-original-$(date +%s)"
fi
git clone ssh://git@git.rayelliott.dev:3222/dots/lf.git "$_home_dir/.config/lf"