mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 00:21:58 +00:00
Don't choke on empty zshrc.
This commit is contained in:
parent
50c8214038
commit
fc0274de2c
1 changed files with 1 additions and 1 deletions
|
@ -1368,8 +1368,8 @@ function ask_zshrc_edit() {
|
||||||
cp -p $__p9k_zshrc $zshrc_backup || quit -c
|
cp -p $__p9k_zshrc $zshrc_backup || quit -c
|
||||||
print -r -- $zshrc_content >$zshrc_backup || quit -c
|
print -r -- $zshrc_content >$zshrc_backup || quit -c
|
||||||
zshrc_backup_u=${${TMPDIR:+\$TMPDIR}:-/tmp}/${(q-)zshrc_backup:t}
|
zshrc_backup_u=${${TMPDIR:+\$TMPDIR}:-/tmp}/${(q-)zshrc_backup:t}
|
||||||
break
|
|
||||||
fi
|
fi
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue