From 8098ad257e4404eec31ebae0203ab46d40784090 Mon Sep 17 00:00:00 2001 From: Felipe M Date: Wed, 20 Jan 2021 13:57:35 +0100 Subject: [PATCH] docs: zsh --- .dotfiles/docs/zsh.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .dotfiles/docs/zsh.md diff --git a/.dotfiles/docs/zsh.md b/.dotfiles/docs/zsh.md new file mode 100644 index 0000000..c0f2bec --- /dev/null +++ b/.dotfiles/docs/zsh.md @@ -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 +```