summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2018-05-12 20:58:29 +0200
committerDavid Kaufmann <astra@ionic.at>2018-05-12 20:58:29 +0200
commit6a904c7636fde7264f62ec47321f4fa6268707cf (patch)
treeb36ee9b046e4eefa3e812ee448cb4b36803956c0
parent693ee03c39e88ba4aa554137ef689d1c7fc64723 (diff)
downloadconfig-6a904c7636fde7264f62ec47321f4fa6268707cf.tar.gz
fix less issue
-rw-r--r--home/.zshrc10
1 files changed, 10 insertions, 0 deletions
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 &'