我的bashrc,留而利值(不定期更新)
来源:互联网 发布:最新网络流行词2016 编辑:程序博客网 时间:2024/06/05 00:32
# .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
0 0
- 我的bashrc,留而利值(不定期更新)
- 我的vimrc,留而利值(不定期更新)
- iOS开发:我的开源项目(不定期更新...)
- 【Git】我遇到过的错误整理(不定期更新)
- 晒晒我的vimrc配置【不定期更新】
- 关于我遇到的java中编译没错运行出错的一些问题(不定期更新)
- 【Git】记录我学习和使用Git的历程(不定期更新)
- 晒晒我的linux alias文件【不定期更新】
- 我本人常去的一些技术性网站!!(不定期更新)
- 消息使用的积累(不定期更新)
- Sqlite3的使用小结(不定期更新)
- Sqlite3的使用小结(不定期更新)
- android-listview的总结(不定期更新)
- CodeBlocks 的使用方法(不定期更新)
- java的一些总结(不定期更新)
- oracle的坑(不定期更新)
- 要看的文章(不定期更新)
- TextView的使用(不定期更新)
- 选择排序
- 【日常学习】【线性DP】codevs1044 拦截导弹题解
- Android WebView H5开发问题
- 解决jfreechart中文乱码,以及字体模糊,设置主题问题
- CAS和Shiro在spring中集成
- 我的bashrc,留而利值(不定期更新)
- solr 4.7.2 环境搭建
- 模式识别入门与贝叶斯决策理论
- 【LeetCode #179】Largest Number 解题报告
- 浅谈Autolayout之Masonry
- Android一分钟环境搭建,包含Mac、Linux、Windows
- UVa 11292 The Dragon of Loowater 勇者斗恶龙
- valgrind跟踪fork出的子进程-debug调试
- 解决安卓点击图片跳转时候的蓝色边框问题