From ec3cafe2d055a3c6d5c041be7c4cb226003faa53 Mon Sep 17 00:00:00 2001 From: Matt Schrage Date: Thu, 21 Jan 2021 12:51:09 -0800 Subject: [PATCH] Add newlines when appending path to fish --- tools/install_and_upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install_and_upgrade.sh b/tools/install_and_upgrade.sh index 3c71481..26a702a 100755 --- a/tools/install_and_upgrade.sh +++ b/tools/install_and_upgrade.sh @@ -178,7 +178,7 @@ function install_fish_integration() { mkdir -p ~/.config/fish/conf.d cp ~/.fig/fig.fish ~/.config/fish/conf.d/fig.fish - FISH_ADD_TO_PATH='contains $HOME/.fig/bin $fish_user_paths; or set -Ua fish_user_paths $HOME/.fig/bin' + FISH_ADD_TO_PATH=$'\ncontains $HOME/.fig/bin $fish_user_paths; or set -Ua fish_user_paths $HOME/.fig/bin\n' # Add ~/.fig/bin to PATH touch ~/.config/fish/config.fish