Zsh zle 函数在“trap ‘zle reset-prompt’ EXIT”时发生段错误
我有以下函数来使用 fzf 选择 tmux 会话: function tmx { [ -n "$ZLE_STATE" ] && trap 'zle reset-prompt' EXIT local tmux item tmux="$(which tmux)" || return $? if [ -z "$1" ] ; then # The 1st value is the query string. # The 2nd value is the selected, matched...