X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=a63f2edecd2139d5d9cc465d92a65225c10ef9ca;hp=faa50c59e7b12159a9c6ebeeb3367bc0952c59d7;hb=2071ebfdf0d2a710e3731dde09239a88536c2cfc;hpb=933a1819ad8d9bff45888eeec2ebfe0c1bd66c0c diff --git a/.bashrc b/.bashrc index faa50c5..a63f2ed 100644 --- a/.bashrc +++ b/.bashrc @@ -153,13 +153,16 @@ eval ' function gdbn { gdb -nx --command=~/.gdbinit "$@"; } function hd { od -Ax -tx1; } function wget {(unset wget; ( wget --no-check-certificate "$@"; ); );} + function ucwkbd { setxkbmap -layout us,cz -variant ,ucw -option grp:caps_switch; } ' +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 export EDITOR='vim' -[ -x /bin/less ] && export PAGER='/bin/less -MMh5cis' +[ -x /bin/less ] && export PAGER='/bin/less -rMMh5cis' export PERL_LOCAL_LIB_ROOT="$HOME/perl5"; export PERL_MB_OPT="--install_base $HOME/perl5"; @@ -341,8 +344,6 @@ function gdbcvscheckout { sourcewarecvscheckout gdb; } function binutilscvscheckout { sourcewarecvscheckout binutils; } function uri_escape { perl -MURI::Escape -le '$_=<>;chomp;print uri_escape $_;'; }; function uri_unescape { perl -MURI::Escape -le '$_=<>;chomp;print uri_unescape $_;'; }; -# It cannot be a function - unset does not work for it. -alias youtube-dl='youtube-dl --format 38/37/45/22/44/35/34/18/6/5/17/13' alias fetchmail='n fetchmail' function rpmsrclist { @@ -379,6 +380,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