mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-16 06:16:45 +08:00
mac os fix
This commit is contained in:
1 parent
5d5d2f94be
commit
76dd2d8b05
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user