mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
mac os fix
This commit is contained in:
@@ -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