Remove double quotes from output file in curl command for bashrc

This commit is contained in:
42berlin 2023-04-11 22:25:06 +02:00
parent 614ec7aa4c
commit f124dcdfc1
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ PATH="${PATH}:~/.local/bin"
GIT_PROMPT="1" GIT_PROMPT="1"
if [ ! -f ~/git-prompt.sh ] && [ "${GIT_PROMPT}" = "1" ] ; then if [ ! -f ~/git-prompt.sh ] && [ "${GIT_PROMPT}" = "1" ] ; then
curl --silent --location 'https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh' -o "~/git-prompt.sh" curl --silent --location 'https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh' -o ~/git-prompt.sh
fi fi
if [ -f ~/git-prompt.sh ] && [ "${GIT_PROMPT}" = "1" ] ; then if [ -f ~/git-prompt.sh ] && [ "${GIT_PROMPT}" = "1" ] ; then