Mercurial > dotfiles
view dot_config/private_fish/functions/push_input.fish @ 1072:240d435b7443
feat: remove "current" keyword from stack state when the change is orphaned
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Mon, 10 Feb 2025 17:55:14 +0100 |
parents | fb4670b7526a |
children |
line wrap: on
line source
function push-input set -g --prepend pushed_input (commandline | string collect) commandline -r "" end function pop-input --on-event fish_postexec if test -n "$pushed_input[1]" commandline -r -- $pushed_input[1] set -g --erase pushed_input[1] end end