mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 12:48:01 +00:00
general: Documentation update for zstyle based alias skipping support
Add documentation to surface the `zstyle` based alias skipping.
This commit is contained in:
parent
5ca892d6af
commit
8ee9d1bbfe
@ -17,6 +17,13 @@ Sets directory options and defines directory aliases.
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:directory:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
- `d` prints the contents of the directory stack.
|
- `d` prints the contents of the directory stack.
|
||||||
- `1 ... 9` changes the directory to the **n** previous one.
|
- `1 ... 9` changes the directory to the **n** previous one.
|
||||||
|
|
||||||
|
@ -12,6 +12,13 @@ execution of `carton`.
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:emacs:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
### Carton
|
### Carton
|
||||||
|
|
||||||
- `cai` installs dependencies.
|
- `cai` installs dependencies.
|
||||||
|
@ -19,6 +19,13 @@ instead of the bundled version.
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:fasd:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
- `j` changes the current working directory interactively.
|
- `j` changes the current working directory interactively.
|
||||||
|
|
||||||
## Completion
|
## Completion
|
||||||
|
@ -36,6 +36,13 @@ Alternately, you can set `HISTFILE` manually to _`${ZDOTDIR:-$HOME}/.zhistory`_.
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:history:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
- `history-stat` lists the ten most used commands
|
- `history-stat` lists the ten most used commands
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
@ -12,6 +12,13 @@ brew shellenv
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:homebrew:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
### Homebrew Core
|
### Homebrew Core
|
||||||
|
|
||||||
- `brewc` cleans outdated brews and their cached archives.
|
- `brewc` cleans outdated brews and their cached archives.
|
||||||
|
@ -4,6 +4,13 @@ Defines MacPorts aliases and adds MacPorts directories to path variables.
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:macports:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
- `portc` cleans the files used to build ports.
|
- `portc` cleans the files used to build ports.
|
||||||
- `porti` installs a port.
|
- `porti` installs a port.
|
||||||
- `ports` searches for a port.
|
- `ports` searches for a port.
|
||||||
|
@ -29,6 +29,13 @@ _`$XDG_CONFIG_HOME/nvm`_, _`~/.nvm`_, or is installed with homebrew.
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:node:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
### npm
|
### npm
|
||||||
|
|
||||||
- `npmi` install a package.
|
- `npmi` install a package.
|
||||||
|
@ -40,6 +40,13 @@ The subcommands of _plenv_ is similar with _rbenv_.
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:perl:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
### General
|
### General
|
||||||
|
|
||||||
- `pl` is short for `perl`.
|
- `pl` is short for `perl`.
|
||||||
|
@ -124,6 +124,13 @@ zstyle ':prezto:module:python:virtualenv' initialize 'no'
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:python:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
- `py` is short for `python`.
|
- `py` is short for `python`.
|
||||||
- `py2` is short for `python2`.
|
- `py2` is short for `python2`.
|
||||||
- `py3` is short for `python3`.
|
- `py3` is short for `python3`.
|
||||||
|
@ -4,6 +4,13 @@ Defines [Ruby on Rails][1] aliases.
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:rails:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
- `ror` is short for `rails`.
|
- `ror` is short for `rails`.
|
||||||
- `rorc` starts the Rails console.
|
- `rorc` starts the Rails console.
|
||||||
- `rordc` starts the Rails console connected to the database.
|
- `rordc` starts the Rails console connected to the database.
|
||||||
|
@ -54,6 +54,13 @@ dependencies, with [Bundler][5].
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:ruby:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
### General
|
### General
|
||||||
|
|
||||||
- `rb` is short for `ruby`.
|
- `rb` is short for `ruby`.
|
||||||
|
@ -24,6 +24,13 @@ zstyle ':prezto:module:screen:auto-start' remote 'yes'
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:screen:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
- `scr` is short for `screen`.
|
- `scr` is short for `screen`.
|
||||||
- `scrl` lists sessions/socket directory.
|
- `scrl` lists sessions/socket directory.
|
||||||
- `scrn` starts a new session.
|
- `scrn` starts a new session.
|
||||||
|
@ -53,6 +53,13 @@ Read [iTerm2 and tmux Integration][7] for more information.
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
|
Aliases are enabled by default. To disable them, add the following to
|
||||||
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:tmux:alias' skip 'yes'
|
||||||
|
```
|
||||||
|
|
||||||
- `tmuxa` attaches or switches to a tmux session.
|
- `tmuxa` attaches or switches to a tmux session.
|
||||||
- `tmuxl` lists sessions managed by the tmux server.
|
- `tmuxl` lists sessions managed by the tmux server.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user