dotfiles/.config/fish/functions/_puffer_fish_expand_bang.fish

11 lines
198 B
Fish

function _puffer_fish_expand_bang
switch (commandline -t)
case '!'
commandline -t $history[1]
commandline -f repaint
case '*'
commandline -i '!'
end
end