some alias of .bashrc
来源:互联网 发布:腾讯视频自制网络剧 编辑:程序博客网 时间:2024/05/16 08:57
cat ~/.bashrc
...
alias mg='python manage.py'alias venv='virtualenv --python=python3.5 venv'alias actvenv='source venv/bin/activate'alias env2='virtualenv --python=python2.7 .env'alias actenv2='source .env/bin/activate'alias ENV='virtualenv --python=python3.6 ENV'alias actENV='source ENV/bin/activate'alias env='virtualenv --python=python3.6 env'alias actenv='source env/bin/activate'alias actpy36='source ~/ENV/bin/activate'alias pipf='pip freeze>requirements.txt'alias pipir='pip install -r requirements.txt'alias pipdouban='pip install -i https://pypi.douban.com/simple/ --trusted-host pypi.douban.com'alias ve='actenv'alias ve2='actenv2'alias ve3='actENV'alias ve35='actvenv'source /etc/bash_completion.d/django_manage.bash
...
cat /etc/bash_completion.d/django_manage.bash
_mg() { local cur=${COMP_WORDS[COMP_CWORD]} COMPREPLY=( $(compgen -W "startapp 0.0.0.0:9000 makemigrations migrate runserver createsuperuser shell collectstatic loaddata dumpdata>db.json sqlmigrate help --database= test --settings=digichainOpen.localsettings" -- $cur) )} complete -o dirnames -F _mg mg
cat .pip/pip.conf
[global]index-url = https://pypi.douban.com/simple/[install]trusted-host = pypi.douban.com
阅读全文
0 0
- some alias of .bashrc
- bashrc alias
- My git alias in .bashrc
- ubuntu中把自定义的alias别名导入./bashrc
- ubuntu bashrc里alias加参数如何做?
- some docs of php
- Some screenshots of Fbx2Cal
- Some skills of netbeans
- some resources of netbeans
- some use of connection
- some use of connection
- Some Notes of QT4
- Some skill of disk
- Some terms of Accounting
- Some tips of Transcation
- some examples of condensation
- some knowledge of scrum
- Some problems of mysql
- cento7系统安装
- C#基础-044 密封类
- 学习反馈-03 W3C, HTML, XHTML, XML概念
- socket简单的流程
- Pointers on C——6 Pointers.1
- some alias of .bashrc
- 换城市为什么需要换号
- BZOJ1492:[NOI2007]货币兑换Cash (CDQ分治+斜率优化DP/平衡树维护凸壳)
- JSON List,Map前后台解析
- Pointers on C——6 Pointers.2
- 再A一遍 洛谷P1514 引水入城
- servlet中service方法、doGet方法、 doPost() 方法 的关系
- Pointers on C——6 Pointers.3
- 小白建站教程