fish_config/functions/bind_bang.fish
2022-01-01 18:20:27 +01:00

9 lines
189 B
Fish

function bind_bang
switch (commandline -t)[-1]
case "!"
commandline -t $history[1]; commandline -f repaint
case "*"
commandline -i !
end
end