mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 14:24:35 +08:00
3836bfe5a1
Updated history function to assume --search as the default behavior
6 lines
470 B
Fish
6 lines
470 B
Fish
complete -c history -r -l prefix --description "Match history items that start with the given prefix"
|
|
complete -c history -r -l contains --description "Match history items that contain the given string"
|
|
complete -c history -l search --description "Print matching history items, which is the default behavior"
|
|
complete -c history -l delete --description "Interactively delete matching history items"
|
|
complete -c history -l clear --description "Clear your entire history"
|