Browse Source

Add clobber and checkjobs options

Emmanuel Bouthenot 9 years ago
parent
commit
666cdedd27
1 changed files with 2 additions and 1 deletions
  1. 2 1
      zsh/zshrc

+ 2 - 1
zsh/zshrc

@@ -166,13 +166,14 @@ export HISTFILE="${TMPDIR}/.zhistory"
 
 export LISTPROMPT           # in order to scroll if completion list is too big
 
+setopt clobber              # Allows > redirection to truncate existing files, and >> to create files
+setopt checkjobs            # Report the status of background and suspended jobs before exiting a shell
 setopt auto_cd              # a command like % /usr/local is equivalent to cd /usr/local
 setopt nohup                # don't send HUP signal when closing term session
 setopt extended_glob        # in order to use #, ~ and ^ for filename generation
 setopt always_to_end        # move to cursor to the end after completion
 setopt notify               # report the status of backgrounds jobs immediately
 setopt correct              # try to correct the spelling if possible
-setopt rmstarwait           # wait 10 seconds before querying for a rm which contains a *
 setopt noflowcontrol        # disable xon/xoff
 setopt histnostore          # don't store history command in history
 setopt nobanghist           # don't care of '!' in commands