Merge pull request #2092 from punchagan/link-profile
lib/helpers: Don't rm "$profile_path" before writing to it
This commit is contained in:
@@ -511,7 +511,6 @@ function _bash-it-profile-save() {
|
|||||||
case "$RESP" in
|
case "$RESP" in
|
||||||
[yY])
|
[yY])
|
||||||
echo -e "${echo_green?}Overwriting profile '$name'...${echo_reset_color?}"
|
echo -e "${echo_green?}Overwriting profile '$name'...${echo_reset_color?}"
|
||||||
rm "$profile_path"
|
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
[nN] | "")
|
[nN] | "")
|
||||||
|
|||||||
Reference in New Issue
Block a user