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

10 lines
217 B
Fish

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