1
0
mirror of https://github.com/drewcassidy/dotfiles synced 2024-06-11 05:44:06 +00:00
Dotfiles/fish/.config/fish/functions/__history_previous_command_arguments.fish

11 lines
255 B
Fish
Executable File

# Source: https://github.com/oh-my-fish/plugin-bang-bang
function __history_previous_command_arguments
switch (commandline -t)
case "!"
commandline -t ""
commandline -f history-token-search-backward
case "*"
commandline -i '$'
end
end