Files
dotfiles/dot_config/fish/functions/_tv_inline.fish
T
Prad Nukala 2049f580f0 revert(shell): move iris integration to the iris branch
Reverts 43dfe48, 0692ae3, e0cdcd6 and the cable-description half of
098da70 (the star-prompt stats stay). master returns to the pre-iris
shell setup: atuin in fish/zsh/bash, the down -> pj binding with
PJ_QUIET, and the fish/zsh key bindings as they were. The iris work
lives on the `iris` branch.
2026-10-05 10:41:51 -04:00

11 lines
515 B
Fish

function _tv_inline --description 'tv --inline below the prompt, cursor back on the prompt line; stdout is the pick'
# tv --inline opens on the line below the prompt and leaves the cursor on
# its own first row when it exits; step back up so the following
# `commandline -f repaint` redraws the prompt in place instead of one line
# lower. /dev/tty keeps the move out of callers that capture stdout (gho).
tv $argv --inline
set -l st $status
printf '\033[A' >/dev/tty
return $st
end