From 94a10f58e629c87e0a81e7a984264350e7379d3e Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 24 Jan 2020 13:23:29 +0000 Subject: Changes to keybindings --- zsh/.zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index 08aef70..86b9a54 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,3 +1,5 @@ +[[ $TERM == "dumb" ]] && unsetopt zle && PS1=$ && return + # Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=100000 @@ -37,7 +39,7 @@ source $HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down bindkey -M emacs '^P' history-substring-search-up -bindkey -M emacs '^N' history-substring-search-down +bindkey -M emacs ^N history-substring-search-down # opam configuration test -r /home/yannherklotz/.opam/opam-init/init.zsh && . /home/yannherklotz/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true -- cgit