TEXT=”$text” bash -c ‘echo “ZSH: $TEXT”‘やTEXT=”$text” zsh -c ‘echo “ZSH: $TEXT”‘と記述すると、bashやzshに変数を渡すことができる updated: 2025/12/07 created: 2025/12/07