summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-01-17 12:22:37 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-01-17 12:22:37 +0100
commit68af9b9e806c82e69bda7723a623be514d3db2cb (patch)
treef51b338ef24a4a1339005797c12b375d81cf9633
parentd604116495c92317acb61aa11fb482b125ba1421 (diff)
downloaddotfiles-68af9b9e806c82e69bda7723a623be514d3db2cb.tar.gz
dotfiles-68af9b9e806c82e69bda7723a623be514d3db2cb.tar.xz
zshrc: some new options
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rw-r--r--.zshrc19
1 files changed, 11 insertions, 8 deletions
diff --git a/.zshrc b/.zshrc
index a0e378b..3811782 100644
--- a/.zshrc
+++ b/.zshrc
@@ -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'