diff options
-rw-r--r-- | .zshrc | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -191,7 +191,7 @@ prompt_eof_setup() { preexec() { # define screen/terminal title with the current command (http://aperiodic.net/phil/prompt/) case $TERM in - rxvt-unicode*) + rxvt-*) printf '\33]2;%s\007' $1 ;; screen*) @@ -442,14 +442,17 @@ setopt print_exit_value # work saved ;) setopt no_clobber -setopt INC_APPEND_HISTORY -setopt SHARE_HISTORY -setopt EXTENDED_HISTORY -setopt HIST_REDUCE_BLANKS -setopt HIST_IGNORE_SPACE +setopt inc_append_history +setopt share_history +setopt extended_history +setopt hist_reduce_blanks +setopt hist_ignore_space setopt nohistverify setopt prompt_subst -setopt HIST_FCNTL_LOCK +setopt hist_fcntl_lock +setopt always_to_end + +unsetopt auto_remove_slash # show the output of time if commands takes longer than n secs (only user+system) REPORTTIME=5 @@ -532,7 +535,7 @@ alias hgrep="history 0 | grep" alias ncmpc='ncmpc -c' alias youtube='youtube-dl -b ' -alias rscp='rsync --partial --progress --rsh="ssh -p 22223"' +alias rscp='rsync --partial --progress' alias mkdir='nocorrect mkdir' alias wget='nocorrect noglob wget' |