X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=5f039372870aa544e18d37a32e3d77711191006a;hp=faa50c59e7b12159a9c6ebeeb3367bc0952c59d7;hb=9e4ac2ba24863738f230a3763826a8a284f0039c;hpb=288c7a1dfd9a22f8929bd772d9cf72d0051ef157 diff --git a/.bashrc b/.bashrc index faa50c5..5f03937 100644 --- a/.bashrc +++ b/.bashrc @@ -153,13 +153,14 @@ 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; } ' 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 +342,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 {