fish_config/functions/bind_bang.fish

9 lines
189 B
Fish
Raw Normal View History

2022-01-01 17:20:27 +00:00
function bind_bang
switch (commandline -t)[-1]
case "!"
commandline -t $history[1]; commandline -f repaint
case "*"
commandline -i !
end
end