aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-01-24 13:23:29 +0000
committerYann Herklotz <git@yannherklotz.com>2020-01-24 13:23:29 +0000
commit94a10f58e629c87e0a81e7a984264350e7379d3e (patch)
tree214593aff53fa1e2cf336e76d5baa14ee5c8f817 /zsh
parent68be31ef3b5e2ff1a6fac7d20d104b4f114b7050 (diff)
downloaddotfiles-94a10f58e629c87e0a81e7a984264350e7379d3e.tar.gz
dotfiles-94a10f58e629c87e0a81e7a984264350e7379d3e.zip
Changes to keybindings
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc4
1 files changed, 3 insertions, 1 deletions
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