dotfiles/.config/fish/functions/_puffer_fish_expand_lastarg...

10 lines
213 B
Fish

function _puffer_fish_expand_lastarg
switch (commandline -t)
case '!'
commandline -t ""
commandline -f history-token-search-backward
case '*'
commandline -i '$'
end
end