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 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 update
|
||||||
sudo apt-get install -y zsh carapace-bin
|
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
|
curl https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
|
||||||
echo "source <(carapace _carapace)" > /home/rhodecode/.zsrc
|
echo "source <(carapace _carapace)" > /home/rhodecode/.zsrc
|
||||||
PROMPT='%(?.%F{green}√.%F{red}?%?)%f %B%F{240}%1~%f%b %# ' zsh
|
PROMPT='%(?.%F{green}√.%F{red}?%?)%f %B%F{240}%1~%f%b %# ' zsh
|
||||||
|
|
@ -139,8 +140,8 @@ dev-env:
|
||||||
.PHONY: sh
|
.PHONY: sh
|
||||||
## shortcut for make dev-sh dev-env
|
## shortcut for make dev-sh dev-env
|
||||||
sh:
|
sh:
|
||||||
make dev-sh
|
(make dev-env; make dev-sh)
|
||||||
make dev-env
|
|
||||||
|
|
||||||
.PHONY: dev-srv
|
.PHONY: dev-srv
|
||||||
## run develop server instance, docker exec -it $(docker ps -q --filter 'name=dev-enterprise-ce') /bin/bash
|
## 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