Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # My System settings
- ## My VSC settings:
- ```
- ...
- "terminal.integrated.fontFamily": "monospace, PowerlineSymbols",
- "editor.renderIndentGuides": true,
- ...
- ```
- ## My Zsh settings:
- ```
- ZSH_TMUX_AUTOSTART=true
- ZSH_TMUX_AUTOCONNECT=false
- plugins=(
- git
- git-flow
- node
- npm
- python
- pip
- tmux
- celery
- django
- virtualenv
- )
- ...
- AUTOENV_ENV_FILENAME=".autoenv"
- source ~/.autoenv/activate.sh
- ```
- ## .autoenv example
- `code/.autoenv`:
- ```
- BASE_PATH=`dirname "$0"`
- PWD=`pwd`
- if [[ "${BASE_PATH}" == "${PWD}" ]]
- then
- declare -f -F deactivate &>/dev/null
- if [[ "${?}" == "0" ]]
- then
- deactivate
- fi
- fi
- ```
- `code/<project_name>/.autoenv`
- ```
- BASE_PATH=`dirname "$0"`
- PWD=`pwd`
- if [[ "${BASE_PATH}" == "${PWD}" ]]
- then
- if [[ -e venv/bin/activate ]]
- then
- source venv/bin/activate
- fi
- fi
- ```
Add Comment
Please, Sign In to add comment