Merge pull request #2092 from punchagan/link-profile

lib/helpers: Don't rm "$profile_path" before writing to it
pull/2096/head
Noah Gorny 2022-02-16 22:14:28 +02:00 committed by GitHub
commit 0b1c65b100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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] | "")