aboutsummaryrefslogtreecommitdiff
path: root/modules/base/fish/functions/__history_previous_command_arguments.fish
blob: adc8fbd273d33118c355e09828ac45bf3a67258a (plain)
1
2
3
4
5
6
7
8
9
function __history_previous_command_arguments
  switch (commandline -t)
  case "!"
    commandline -t ""
    commandline -f history-token-search-backward
  case "*"
    commandline -i '$'
  end
end