From 9e4ac2ba24863738f230a3763826a8a284f0039c Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 28 May 2013 17:27:24 +0200 Subject: [PATCH] +ucwkbd PAGER: Fix less for recent distros. -youtube-dl WebM force. --- .bashrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 { -- 1.8.3.1