diff --git a/jj-fzf b/jj-fzf index e646a68..dbc9b74 100755 --- a/jj-fzf +++ b/jj-fzf @@ -104,7 +104,7 @@ JJROOT=$(jj --ignore-working-copy root) || die "$PWD: not a JJ repository" JJFZFSHOW="jj --no-pager --ignore-working-copy ${JJFZF_ATOP:+--at-op $JJFZF_ATOP} show --tool true" JJFZFONELINE="jj --no-pager --ignore-working-copy log --color=always --no-graph -T builtin_log_oneline" JJFZFPAGER="less -Rc" -JJSUBSHELL='T=$(tty 2>/dev/null||tty <&1 2>/dev/null||tty <&2 2>/dev/null)&&test -n "$T"&&echo -e "\n#\n# Type \"exit\" to leave subshell\n#" && exec /usr/bin/env '"$SHELL"' <$T 1>$T 2>$T' +JJSUBSHELL='T=$(tty 2>/dev/null||tty <&1 2>/dev/null||tty <&2 2>/dev/null)&&test -n "$T"&&echo -e "\n#\n# Type \"exit\" to leave subshell\n#" && unset FZF_DEFAULT_COMMAND && exec /usr/bin/env '"$SHELL"' <$T 1>$T 2>$T' INFO_BINDING=" fzf /dev/tty 2>&1 --prompt ' ' --disabled --layout=reverse --height 1 --margin 4 --padding 4 --border=block --no-info --no-scrollbar --no-clear --bind=enter:print-query " FUNCTIONS=() FZFSETTINGS=(