aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sxhkd/sxhkdrc2
-rw-r--r--zsh/.zshrc4
2 files changed, 4 insertions, 2 deletions
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc
index 3e162bc..fe883df 100644
--- a/sxhkd/sxhkdrc
+++ b/sxhkd/sxhkdrc
@@ -92,7 +92,7 @@ super + alt + {_,shift + }{1-9,0}
#
# preselect the direction
-super + ctrl + {h,j,k,l}
+super + ctrl + {n,e,u,i}
bspc node -p {west,south,north,east}
# preselect the ratio
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