summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-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 &'