/python-tools

小脚本 and 配置文件

Primary LanguagePython

方便日常工作用的配置文件和脚本文件

dogit 一键提交所有修改

  • 默认commit信息为debug
  • dogit fix 此时commit信息就是fix
  • dogit fix bug 此时commit信息就是fix bug
  • 如果push失败会自动拉取新代码再次尝试push

pip.config里配置了豆瓣源

zshrc 是zsh配置文件

  • psk 结束进程 psk python
  • psg 过滤进程 psg python
  • calc 命令行计算器 calc 1 + 2 x3-4 / 5
  • djshell 使用ipython运行django shell djshell
  • 如果你用的zsh把zshrc 复制到 ~/.zshrc 之后执行source ~/.zshrc
  • bash用户自行复制zshrc文件里的代码添加到~/.profile 文件 source ~/.profile

gitconfig 是git配置文件