From e2af9cdb1b38b9bef02dc88098e76b9caa7ae1c8 Mon Sep 17 00:00:00 2001 From: mlunax Date: Sat, 10 Oct 2020 10:32:50 +0200 Subject: [PATCH] add httpie to install script; add checking git clone --- install-packages.sh | 2 ++ install.zsh | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/install-packages.sh b/install-packages.sh index 5195ff1..840efe5 100644 --- a/install-packages.sh +++ b/install-packages.sh @@ -15,6 +15,8 @@ else sudo $install_command kakoune echo Install Alacritty sudo $install_command alacritty + echo Install HTTPie + sudo $install_command httpie fi fi diff --git a/install.zsh b/install.zsh index 3332821..8b424ed 100755 --- a/install.zsh +++ b/install.zsh @@ -20,7 +20,7 @@ fi if [ -n "${ANDROID_SDK_ROOT}" ]; then sed -i "s%\#export ANDROID_SDK_ROOT=\"\"%export ANDROID_SDK_ROOT=\"$ANDROID_SDK_ROOT\"%g" $HOME/.zsh/env.zsh fi -# cp -r ./.local/bin $HOME/.local -# chmod -R +x $HOME/.local/bin -git clone --bare git@github.com:mlunax/dotfiles.git $HOME/.dotfiles +if [ ! -d "${HOME}/.dotfiles" ]; then + git clone --bare git@github.com:mlunax/dotfiles.git $HOME/.dotfiles +fi source $HOME/.zshrc