From 160b342f23cfc1a8831ba6efce791fcf32976a01 Mon Sep 17 00:00:00 2001 From: Leo Li Date: Tue, 10 Oct 2023 04:06:03 +0000 Subject: [PATCH] Add the full path to the error prompt message --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index edcc3f0..454cbe0 100755 --- a/install.sh +++ b/install.sh @@ -39,9 +39,9 @@ if [[ ":$PATH:" == *":$HOME/bin:"* ]]; then echo "Your path is correctly set" else echo "Your path is missing ~/bin, you might want to add it." - echo "If you use bash, add 'export PATH=\"\${PATH}:\${HOME}/bin\"' to your .bashrc file, and then run \"source .bashrc\"" - echo "If you use zsh, add 'export PATH=\"\${PATH}:\${HOME}/bin\"' to your .zshrc file, and then run \"source .zshrc\"" - echo "If you use fish, add 'fish_add_path -m ~/bin' to your config.fish file, and then run \"source config.fish\"" + echo "If you use bash, add 'export PATH=\"\${PATH}:\${HOME}/bin\"' to your ~/.bashrc file, and then run \"source ~/.bashrc\"" + echo "If you use zsh, add 'export PATH=\"\${PATH}:\${HOME}/bin\"' to your ~/.zshrc file, and then run \"source ~/.zshrc\"" + echo "If you use fish, add 'fish_add_path -m ~/bin' to your config.fish file, and then run \"source ~/.config/fish/config.fish\"" exit 1 fi