mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Sync up history completion
This commit is contained in:
parent
4d04125fa1
commit
b0184f1476
1 changed files with 9 additions and 6 deletions
|
@ -1,7 +1,10 @@
|
|||
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"
|
||||
complete -c history -l merge --description "Incorporate history changes from other sessions"
|
||||
complete -c history -r -l prefix --description "Match items starting with prefix"
|
||||
complete -c history -r -l contains --description "Match items containing string"
|
||||
complete -c history -l search -s s --description "Prints commands from history matching query"
|
||||
complete -c history -l delete -s d --description "Deletes commands from history matching query"
|
||||
complete -c history -l clear --description "Clears history file"
|
||||
complete -c history -l merge -s m --description "Incorporate history changes from other sessions"
|
||||
complete -c history -l exact -s e --description "Match items in the history that are identicial"
|
||||
complete -c history -l with-time -s t --description "Output with timestamps"
|
||||
|
||||
# --save is not completed; it is for internal use
|
||||
|
|
Loading…
Reference in a new issue