dev(makefile): added dev shell prompt

This commit is contained in:
RhodeCode Admin 2023-11-07 09:42:22 +01:00
parent ce10169caa
commit 30953604b1

View file

@ -115,6 +115,14 @@ build:
python -m build
.PHONY: dev-sh
## make dev-sh
dev-sh:
sudo apt-get update
sudo apt-get install -y zsh
curl https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
PROMPT='%(?.%F{green}√.%F{red}?%?)%f %B%F{240}%1~%f%b %# ' zsh
.PHONY: dev-env
## make dev-env based on the requirements files and install develop of packages
## Cleanup: pip freeze | grep -v "^-e" | grep -v "@" | xargs pip uninstall -y