Remove double quotes from output file in curl command for bashrc
This commit is contained in:
parent
614ec7aa4c
commit
f124dcdfc1
2
.bashrc
2
.bashrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue