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 }