我的bashrc,留而利值(不定期更新)

# .bashrc


# forbid ctrl + c and ctrl + q
stty -ixon


# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi


# Used to spell the wrong.


alias mikdir=mkdir


# To move files into a trash or un-remove it.


alias rmt=trash
alias rt='ll ~/.trash'
alias ur=unremove
alias ct=cleartrash


unremove()
{
    mv -i ~/.trash/$@ ./
}


trash()
{
    mv $@ ~/.trash/
}


cleartrash()
{
    rm -rf ~/.trash
    mkdir ~/.trash
}


# User specific aliases and functions

你可能感兴趣的:(配置)