fish_config/functions/bind_dollar.fish

10 lines
217 B
Fish
Raw Normal View History

2022-01-01 17:20:27 +00:00
function bind_dollar
switch (commandline -t)[-1]
case "!"
commandline -t ""
commandline -f history-token-search-backward
case "*"
commandline -i '$'
end
end