mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
bashrc & zshrc: Use pinfo instead of info & add -R flag to less
This commit is contained in:
parent
3dc345e6a6
commit
92f6b5acc9
5
bashrc
5
bashrc
@ -373,6 +373,11 @@ alias ex-tartar="tar xfv "
|
|||||||
alias ex-targz="tar xfvz "
|
alias ex-targz="tar xfvz "
|
||||||
alias ex-tarbz2="tar xfvj "
|
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 .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
|
4
zshrc
4
zshrc
@ -328,6 +328,10 @@ alias ex-tartar="tar xfv "
|
|||||||
alias ex-targz="tar xfvz "
|
alias ex-targz="tar xfvz "
|
||||||
alias ex-tarbz2="tar xfvj "
|
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
|
# .aliases
|
||||||
if [ -f ~/.aliases ]; then
|
if [ -f ~/.aliases ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user