1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-17 10:10:07 +00:00

Don't choke on empty zshrc.

This commit is contained in:
Roman Perepelitsa 2019-11-04 18:51:00 +01:00 committed by GitHub
parent 50c8214038
commit fc0274de2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1368,8 +1368,8 @@ function ask_zshrc_edit() {
cp -p $__p9k_zshrc $zshrc_backup || quit -c
print -r -- $zshrc_content >$zshrc_backup || quit -c
zshrc_backup_u=${${TMPDIR:+\$TMPDIR}:-/tmp}/${(q-)zshrc_backup:t}
break
fi
break
;;
esac
done