mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-25 05:41:58 +00:00
mac os fix
This commit is contained in:
parent
5d5d2f94be
commit
76dd2d8b05
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ function noyes() {
|
||||||
|
|
||||||
function theme_preview() {
|
function theme_preview() {
|
||||||
THEME=$1
|
THEME=$1
|
||||||
export ZDOTDIR="$(mktemp -d)"
|
export ZDOTDIR="$(mktemp -d tmp.zshXXXX)"
|
||||||
|
|
||||||
cat <<-EOF >"$ZDOTDIR/.zshrc"
|
cat <<-EOF >"$ZDOTDIR/.zshrc"
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
|
|
Loading…
Reference in a new issue