mirror of
https://github.com/drewcassidy/dotfiles
synced 2024-09-01 18:24:06 +00:00
11 lines
255 B
Fish
Executable File
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
|