This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layout_poetry() { | |
PYPROJECT_TOML="${PYPROJECT_TOML:-pyproject.toml}" | |
if [[ ! -f "$PYPROJECT_TOML" ]]; then | |
log_status "No pyproject.toml found. Executing \`poetry init\` to create a \`$PYPROJECT_TOML\` first." | |
poetry init | |
fi | |
if [[ -d ".venv" ]]; then | |
VIRTUAL_ENV="$(pwd)/.venv" | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"terminal.integrated.shell.windows": "C:\\tools\\cmder\\vendor\\git-for-windows\\bin\\bash.exe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[log] | |
date = relative | |
[format] | |
pretty = format:%C(auto,yellow)%h%C(auto,blue)%>(12,trunc)%ad %C(auto,green)%<(7,trunc)%aN%C(auto,reset)%s%C(auto,red)% gD% D | |
[alias] | |
last = log -1 HEAD | |
[alias] | |
tree = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all |