Thursday, October 29, 2009

My `aliases' in `.profile'

To make my work in Mac OS console more friendly I use shortcuts to call usable command. Because of `.bashrc' file is not usable in Mac OS, the `aliases' should be inside `.profile' file within user folder. Here is the example my own:
alias h='history -c'
alias df='df -h'
alias md='mkdir -p'
alias rd='rmdir'
alias mv='mv -i'
alias slink='ln -s'
alias sed='sed -E'
alias l='ls -1'
alias la='ls -lhAF'
alias ll='ls -lhF'
alias lt='ls -lhtrF'
alias l.='ls -lhtrdF .*'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'

No comments: