aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 9c02e6a..f89ad19 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
@@ -23,7 +25,7 @@ setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_SPACE
setopt HIST_FIND_NO_DUPS
-(cat ~/.cache/wal/sequences &)
+(cat ~/.cache/wal/sequences &) >/dev/null 2>&1
# Sourcing everything
source /usr/share/fzf/key-bindings.zsh
@@ -37,7 +39,10 @@ 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
+
+# added by travis gem
+[ -f /home/ymherklotz/.travis/travis.sh ] && source /home/ymherklotz/.travis/travis.sh