X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=5516f70101fe7b247213ba20e5de514c2806e14c;hp=393722622ab77c742b3ee95b698be92b20ab7df7;hb=0ff293624db8628c99c825457af9f02f318ddf7c;hpb=a8e600e7fd904d45e73ef114d0ec791c510b207f diff --git a/.bashrc b/.bashrc index 3937226..5516f70 100644 --- a/.bashrc +++ b/.bashrc @@ -157,6 +157,7 @@ eval ' ' unset command_not_found_handle +shopt -u progcomp # Disable 'bash-completion' rpm export IGNOREEOF=10 # '2>/dev/null' to prevent: TMOUT: readonly variable [ -n "$SSH_TTY" ] && export TMOUT=900 2>/dev/null @@ -235,6 +236,7 @@ export LC_COLLATE=C # http://lists.gnu.org/archive/html/bug-readline/2009-09/msg00006.html # 2>/dev/null for possible: stty: standard input: Inappropriate ioctl for device stty -echoctl 2>/dev/null +export GIT_MERGE_AUTOEDIT=no function wclines { awk '{x[$0]++}END{for (i in x) print x[i]"\t"i}'; } # SunOS does not support "-m" @@ -250,7 +252,7 @@ function finame { find . -false ` `; } function mkcd { mkdir -p "$1"; cd "$1"; } function pushdmk { mkdir -p "$1"; pushd "$1"; } -function rsync {(unset rsync; n rsync -a -v -e ssh --progress --stats --inplace --rsync-path='nice -n20 ionice -c3 rsync' "$@"; );} +function rsync {(unset rsync; n rsync -c -a -v -e ssh --progress --stats --inplace --rsync-path='nice -n20 ionice -c3 rsync' "$@"; );} function tohex { od -An -txC|tr -d '\n '|tr 'a-f' 'A-F';echo; } function edall { find -type f|while read -r i;do @@ -379,6 +381,7 @@ function gpg {(unset gpg; http_proxy= all_proxy= HTTP_PROXY= ALL_PROXY= gpg "$@" ulimit -S -c 0 set +H shopt -s mailwarn +shopt -s direxpand unset OPTIND umask 022