mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 09:41:20 +08:00
mac os fix
This commit is contained in:
parent
5d5d2f94be
commit
76dd2d8b05
|
@ -20,7 +20,7 @@ function noyes() {
|
|||
|
||||
function theme_preview() {
|
||||
THEME=$1
|
||||
export ZDOTDIR="$(mktemp -d)"
|
||||
export ZDOTDIR="$(mktemp -d tmp.zshXXXX)"
|
||||
|
||||
cat <<-EOF >"$ZDOTDIR/.zshrc"
|
||||
source ~/.zshrc
|
||||
|
|
Loading…
Reference in New Issue
Block a user