# HG changeset patch # User RhodeCode Admin # Date 2023-11-23 08:36:07 # Node ID 61b5d6b28c0671b348568db69b936b9a9a331ece # Parent 1e179e1f5e44791cd9c8b52944db7e136ee52589 dev(shell): make the shell use zshrc and better autocomplete diff --git a/Makefile b/Makefile --- a/Makefile +++ b/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