+ucwkbd
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index faa50c5..5f03937 100644 (file)
--- 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
 {