From 775caac4cf12abe349bd0ac04e986e0599f8874f Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Tue, 22 Jun 2021 12:03:57 -0300 Subject: [PATCH] Install Emacs too --- install.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index f97f36c..8428f98 100755 --- a/install.sh +++ b/install.sh @@ -19,13 +19,10 @@ gitconfg() { } bat() { - if hash bat 2> /dev/null; - then - echo "Installing Bat configuration..." - BAT_CONFIG_FILE=`bat --config-file` - mkdir -p `dirname $BAT_CONFIG_FILE` - ln -sf $PWD/bat/config $BAT_CONFIG_FILE - fi + echo "Installing Bat configuration..." + BAT_CONFIG_FILE=`bat --config-file` + mkdir -p `dirname $BAT_CONFIG_FILE` + ln -sf $PWD/bat/config $BAT_CONFIG_FILE } nvim() { @@ -67,6 +64,7 @@ rust() { rust nvim +emacs starship fish alacritty