dev(shell): make the shell use zshrc and better autocomplete
This commit is contained in:
parent
42606f970b
commit
5ef431b3af
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -118,9 +118,11 @@ build:
|
|||
.PHONY: dev-sh
|
||||
## make dev-sh
|
||||
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
|
||||
sudo apt-get install -y zsh carapace-bin
|
||||
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
|
||||
|
||||
.PHONY: dev-env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue