2021-05-04 01:59:31 +00:00
|
|
|
# Fasd
|
2012-09-30 20:29:45 +00:00
|
|
|
|
|
|
|
[Fasd][1] is a command-line productivity booster, inspired by tools like
|
|
|
|
[autojump][2], [z][3] and [v][4], it offers quick access to files and
|
2021-05-05 17:59:01 +00:00
|
|
|
directories by keeping track of files and directories that were previously
|
2012-09-30 20:29:45 +00:00
|
|
|
accessed.
|
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
For shell completion to work, this module must be loaded _after_ the
|
|
|
|
[_`completion`_][5] module.
|
2012-09-30 20:29:45 +00:00
|
|
|
|
|
|
|
The Prezto Fasd configuration differs from the default. The default aliases have
|
|
|
|
been disabled.
|
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Installation
|
2017-04-13 08:54:52 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
`fasd` is bundled with prezto as a git submodule. Alternatively, you can
|
|
|
|
manually install `fasd`. If a manual installation is found, it will be used
|
|
|
|
instead of the bundled version.
|
2017-04-13 08:54:52 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Aliases
|
2012-09-30 20:29:45 +00:00
|
|
|
|
2023-05-05 03:21:48 +00:00
|
|
|
Aliases are enabled by default. To disable them, add the following to
|
|
|
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
zstyle ':prezto:module:fasd:alias' skip 'yes'
|
|
|
|
```
|
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- `j` changes the current working directory interactively.
|
2012-09-30 20:29:45 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Completion
|
2012-09-30 20:29:45 +00:00
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
Type `,`, `f,`, `d,` in front of a comma-separated query or type `,,`, `,,f`,
|
2021-05-04 01:59:31 +00:00
|
|
|
`,,d` at the end of a comma-separated query then hit <kbd>TAB</kbd>.
|
2012-09-30 20:29:45 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Authors
|
2012-09-30 20:29:45 +00:00
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
_The authors of this module should be contacted via the [issue tracker][6]._
|
2012-09-30 20:29:45 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- [Wei Dai](https://github.com/clvv)
|
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
2012-09-30 20:29:45 +00:00
|
|
|
|
|
|
|
[1]: https://github.com/clvv/fasd
|
|
|
|
[2]: https://github.com/joelthelion/autojump
|
|
|
|
[3]: https://github.com/rupa/z
|
|
|
|
[4]: https://github.com/rupa/v
|
2021-05-05 17:59:01 +00:00
|
|
|
[5]: ../completion#readme
|
|
|
|
[6]: https://github.com/sorin-ionescu/prezto/issues
|