mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
aad27a7a68
- Was an opening tag, should have been a closing tag - Confused Doxygen 1.8.1.1 on my machine (OS X 10.7), resulting in the fish man pages not being installed at all
37 lines
875 B
Plaintext
37 lines
875 B
Plaintext
\section history history - Show and manipulate user's command history
|
|
|
|
\subsection history-synopsis Synopsis
|
|
<pre>
|
|
history (--save | --clear)
|
|
history (--search | --delete ) (--prefix "prefix string" | --search "search string")
|
|
</pre>
|
|
|
|
\subsection history-description Description
|
|
|
|
history is used to list, search and delete user's command history.
|
|
|
|
\subsection history-examples Example
|
|
|
|
<pre>
|
|
history --save
|
|
Save all changes in history file.
|
|
|
|
history --clear
|
|
Delete all history items.
|
|
|
|
history --search --contains "foo"
|
|
Searches commands containing "foo" string.
|
|
|
|
history --search --prefix "foo"
|
|
Searches for commands with prefix "foo".
|
|
|
|
history --delete --contains "foo"
|
|
Interactively delete commands containing string "foo".
|
|
|
|
history --delete --prefix "foo"
|
|
Interactively delete commands with prefix "foo".
|
|
|
|
history --delete "foo"
|
|
Delete command "foo" from history.
|
|
</pre>
|