docs: zsh
This commit is contained in:
parent
1017dd1881
commit
8098ad257e
1 changed files with 17 additions and 0 deletions
17
.dotfiles/docs/zsh.md
Normal file
17
.dotfiles/docs/zsh.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# ZSH
|
||||||
|
|
||||||
|
## Use emacs style keybindings
|
||||||
|
|
||||||
|
``` zsh
|
||||||
|
bindkey -e
|
||||||
|
```
|
||||||
|
|
||||||
|
## Use selective up/down command history
|
||||||
|
|
||||||
|
In order to traverse the command history with up/down arrows but filtering by the command that is already written in the terminal, we need to use oh-my-zsh
|
||||||
|
|
||||||
|
Get installation instructions from [the oh-my-zsh github repository](https://github.com/ohmyzsh/ohmyzsh).
|
||||||
|
|
||||||
|
```
|
||||||
|
source $HOME/.oh-my-zsh/oh-my-zsh.sh
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue