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