mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-14 05:36:58 +03:00
1ed6d6e03b
* decontainer setup * update * fix typo * keep .envs * add info * typo * minor fixes * keep compose/production * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add isort and lint * choose editor and configure devcontainer * choose editor and configure devcontainer * add ssh client * Remove isort arguments duplicated with base config * End of file * Only keep black as code formatter * Add note about black not being accepted as formatter in devcontainer * Avoid empty lines in devcontainer.json * Move bash_history into .devcontainer folder * Remove .prettierignore file --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bruno Alla <alla.brunoo@gmail.com> Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
21 lines
352 B
Bash
21 lines
352 B
Bash
|
|
#
|
|
# .bashrc.override.sh
|
|
#
|
|
|
|
# persistent bash history
|
|
HISTFILE=~/.bash_history
|
|
PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
|
|
|
|
# set some django env vars
|
|
source /entrypoint
|
|
|
|
# restore default shell options
|
|
set +o errexit
|
|
set +o pipefail
|
|
set +o nounset
|
|
|
|
# start ssh-agent
|
|
# https://code.visualstudio.com/docs/remote/troubleshooting
|
|
eval "$(ssh-agent -s)"
|