I would like to use the following to move around panes by just typing text
#The leading whitespace and the option ensures that those won't get into the history
setopt hist_ignore_space
alias pl=" wezterm cli activate-pane-direction Left || wezterm cli split-pane --left"
alias pr=" wezterm cli activate-pane-direction Right || wezterm cli split-pane --right"
alias pu=" wezterm cli activate-pane-direction Up || wezterm cli split-pane --top"
alias pd=" wezterm cli activate-pane-direction Down || wezterm cli split-pane --bottom"
The above don't work because because wezterm cli activate-pane-direction $direction seems to always return 0
Would it be possible to change the return value or is it bad idea ?
I would like to use the following to move around panes by just typing text
The above don't work because because
wezterm cli activate-pane-direction $direction
seems to always return 0Would it be possible to change the return value or is it bad idea ?
Thanks for the great piece of software