-
Notifications
You must be signed in to change notification settings - Fork 3
Commands and syntax
Mirko Conti edited this page Mar 8, 2021
·
1 revision
<command_to_save> #[<tag> [#<tag> ...]][@<description>]
f --add <command> #[<tag> [#<tag> ...]][@<description>]
or
# <command_to_save> #[<tag> [#<tag> ...]][@<description>]
Note: the latter is not available with zsh
f [<filter>]
OR search: match any row where at least one of the following conditions is true:
- the filter words are contained in the command
- the filter words are contained in the tags list
- the filter words are contained in the description
f [<filter>] [#<tag_filter> ...] [@<description_filter>]
AND search: match any rows where all the following conditions are true:
- the filter words are contained in the command OR tags OR description
- the tag_filter words are contained in the tag list
- the description_filter words contained in the description
f --export [<output_name>]
- the output is the file name of the output database (this parameter is optional)
f --import <input_name>
- the input_name is the file name of the input database (e.g. fastHistory_2019-03-23.db)
f --config
f --setup
this may be needed if you install zsh after fastHistory
f --version
f --update
f --help
1. `f`
2. select command
3. 'ctrl+space'