dotfiles/.config/fish/functions/__history_previous_command_arguments.fish

10 lines
198 B
Fish
Raw Normal View History

2023-09-18 07:20:52 +01:00
function __history_previous_command_arguments
switch (commandline -t)
case "!"
commandline -t ""
commandline -f history-token-search-backward
case "*"
commandline -i '$'
end
end