# .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
# 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