bashrc & zshrc: Use pinfo instead of info & add -R flag to less

This commit is contained in:
Mika Suomalainen 2012-12-22 21:17:56 +02:00
parent 3dc345e6a6
commit 92f6b5acc9
2 changed files with 9 additions and 0 deletions

5
bashrc
View File

@ -373,6 +373,11 @@ alias ex-tartar="tar xfv "
alias ex-targz="tar xfvz "
alias ex-tarbz2="tar xfvj "
alias info="echo 'I don't know anyone who likes and uses info pages, so I aliased this to pinfo. If you don't have it installed, you should install it! To override this alias run: \info <document>' && pinfo "
# To have less handle ls colours
alias less="less -R "
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases

4
zshrc
View File

@ -328,6 +328,10 @@ alias ex-tartar="tar xfv "
alias ex-targz="tar xfvz "
alias ex-tarbz2="tar xfvj "
alias info="echo 'I don't know anyone who likes and uses info pages, so I aliased this to pinfo. If you don't have it installed, you should install it! To override this alias run: \info <document>' && pinfo "
# To have less handle ls colours
alias less="less -R "
# .aliases
if [ -f ~/.aliases ]; then