1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 00:17:59 +00:00

Add "sa" alias to make it easy to search aliases

This commit is contained in:
Kyle Rich 2016-05-25 17:31:11 -06:00 committed by Kaleb Elwert
parent 3a6ae0fc6c
commit 4e35f701ca
2 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ Aliases
- `pu` changes the directory and pushes the old directory onto the stack - `pu` changes the directory and pushes the old directory onto the stack
(`pushd`). (`pushd`).
- `rm` removes files and directories interactively. - `rm` removes files and directories interactively.
- `sa` search aliases for a word.
- `type` displays all the attribute values of a shell parameter. - `type` displays all the attribute values of a shell parameter.
### Files and Directories ### Files and Directories

View File

@ -57,6 +57,7 @@ alias p='${(z)PAGER}'
alias po='popd' alias po='popd'
alias pu='pushd' alias pu='pushd'
alias rm="${aliases[rm]:-rm} -i" alias rm="${aliases[rm]:-rm} -i"
alias sa='alias | grep -i'
alias type='type -a' alias type='type -a'
# ls # ls