dev(dev-shell): improvements to dev shell env
This commit is contained in:
parent
3cb072893c
commit
3f6a53ec6b
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -121,6 +121,7 @@ dev-sh:
|
|||
sudo echo "deb [trusted=yes] https://apt.fury.io/rsteube/ /" | sudo tee -a "/etc/apt/sources.list.d/fury.list"
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y zsh carapace-bin
|
||||
rm -rf /home/rhodecode/.oh-my-zsh
|
||||
curl https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
|
||||
echo "source <(carapace _carapace)" > /home/rhodecode/.zsrc
|
||||
PROMPT='%(?.%F{green}√.%F{red}?%?)%f %B%F{240}%1~%f%b %# ' zsh
|
||||
|
|
@ -139,8 +140,8 @@ dev-env:
|
|||
.PHONY: sh
|
||||
## shortcut for make dev-sh dev-env
|
||||
sh:
|
||||
make dev-sh
|
||||
make dev-env
|
||||
(make dev-env; make dev-sh)
|
||||
|
||||
|
||||
.PHONY: dev-srv
|
||||
## run develop server instance, docker exec -it $(docker ps -q --filter 'name=dev-enterprise-ce') /bin/bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue