Browse Source

Fixed the path in the symlinks

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

10
install.sh

@ -12,12 +12,12 @@ vim() {
starship() { starship() {
echo "Installing Starship configuration..." echo "Installing Starship configuration..."
ln -sf starship/starship.toml ~/.config/starship.toml ln -sf $PWD/starship/starship.toml ~/.config/starship.toml
} }
kitty() { kitty() {
echo "Installing Kitty configuration..." echo "Installing Kitty configuration..."
ln -sf kitty ~/.config/kitty ln -sf $PWD/kitty ~/.config/kitty
} }
git() { git() {
@ -41,9 +41,9 @@ bat() {
if hash bat 2> /dev/null; if hash bat 2> /dev/null;
then then
echo "Installing Bat configuration..." echo "Installing Bat configuration..."
CONFIG_FILE=`bat --config-file` BAT_CONFIG_FILE=`bat --config-file`
mkdir -p `dirname $CONFIG_FILE` mkdir -p `dirname $BAT_CONFIG_FILE`
ln -sf bat/config $CONFIG_FILE ln -sf $PWD/bat/config $BAT_CONFIG_FILE
fi fi
} }

Loading…
Cancel
Save