From 5ef431b3af9ca71acbc1eb4f82bcc705804d920b Mon Sep 17 00:00:00 2001 From: RhodeCode Admin Date: Thu, 23 Nov 2023 09:36:07 +0100 Subject: [PATCH] dev(shell): make the shell use zshrc and better autocomplete --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d8b723e6..86362b65 100644 --- 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