From de81949067bb66872ce519343bd348c14e0dd2c0 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Fri, 4 Sep 2020 09:38:24 -0300 Subject: [PATCH] Fixed the path in the symlinks --- install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 77b5fe1..531cd3e 100755 --- a/install.sh +++ b/install.sh @@ -12,12 +12,12 @@ vim() { starship() { echo "Installing Starship configuration..." - ln -sf starship/starship.toml ~/.config/starship.toml + ln -sf $PWD/starship/starship.toml ~/.config/starship.toml } kitty() { echo "Installing Kitty configuration..." - ln -sf kitty ~/.config/kitty + ln -sf $PWD/kitty ~/.config/kitty } git() { @@ -41,9 +41,9 @@ bat() { if hash bat 2> /dev/null; then echo "Installing Bat configuration..." - CONFIG_FILE=`bat --config-file` - mkdir -p `dirname $CONFIG_FILE` - ln -sf bat/config $CONFIG_FILE + BAT_CONFIG_FILE=`bat --config-file` + mkdir -p `dirname $BAT_CONFIG_FILE` + ln -sf $PWD/bat/config $BAT_CONFIG_FILE fi }