Browse Source

Bat config directory may not exist

master
Julio Biason 4 years ago
parent
commit
e05a7ad4fd
  1. 4
      install.sh

4
install.sh

@ -41,7 +41,9 @@ bat() {
if hash bat 2> /dev/null;
then
echo "Installing Bat configuration..."
ln -sf bat/config `bat --config-file`
CONFIG_FILE=`bat --config-file`
mkdir -p `dirname $CONFIG_FILE`
ln -sf bat/config $CONFIG_FILE
fi
}

Loading…
Cancel
Save