From 6a904c7636fde7264f62ec47321f4fa6268707cf Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Sat, 12 May 2018 20:58:29 +0200 Subject: fix less issue --- home/.zshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home/.zshrc b/home/.zshrc index 5cc85bb..d58b772 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -114,6 +114,14 @@ setopt hist_reduce_blanks setopt multios unsetopt beep unsetopt nomatch +setopt autoparamslash +# Jobs +setopt LONG_LIST_JOBS # List jobs in the long format by default. +setopt AUTO_RESUME # Attempt to resume existing job before creating a new process. +setopt NOTIFY # Report status of background jobs immediately. +unsetopt BG_NICE # Don't run all background jobs at a lower priority. +unsetopt HUP # Don't kill jobs on shell exit. +unsetopt CHECK_JOBS # Don't report on jobs when shell exit. bindkey -e # auto-escape chars when typing urls @@ -125,6 +133,7 @@ autoload -Uz bracketed-paste-magic zle -N bracketed-paste bracketed-paste-magic zstyle ':completion:*:*:(^rm):*:*files' ignored-patterns '*?.o' '*?.c~' '*?.old' '*?.pro' '*?.class' +zstyle ':completion:*' special-dirs true # add ~/bin to path if ! [[ $PATH =~ "${HOME}/bin" ]]; then @@ -138,6 +147,7 @@ main_node() { [[ "$HOSTNAME" == "anduin" ]] } # Vars used later on by Zsh export EDITOR="vim -p" export PAGER="less" +export LESS="-FRX" # command B equivalent to command &> /dev/null & alias -g B='&> /dev/null &' -- cgit v1.2.3