Browse Source

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

master
Kyle Rich 9 years ago committed by Kaleb Elwert
parent
commit
4e35f701ca
  1. 1
      modules/utility/README.md
  2. 1
      modules/utility/init.zsh

1
modules/utility/README.md

@ -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

1
modules/utility/init.zsh

@ -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

Loading…
Cancel
Save