Skip to content

Commit 2d1814e

Browse files
Syaticlaude
andcommitted
Add starship prompt for zsh
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ffb145d commit 2d1814e

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

docker/.zshrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
autoload -Uz compinit && compinit
2-
autoload -Uz colors && colors
3-
4-
PROMPT='%F{cyan}%n%f:%F{blue}%~%f%# '
52

63
alias ls='ls --color=auto'
74
alias grep='grep --color=auto'
85

96
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
107
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
118

9+
eval "$(starship init zsh)"
10+
1211
. ~/.profile.sh

docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
3737
&& apt-get update && apt-get install -y --no-install-recommends gh \
3838
&& rm -rf /var/lib/apt/lists/*
3939

40+
# starship prompt
41+
RUN curl -fsSL https://starship.rs/install.sh | sh -s -- -y
42+
4043
# RTK
4144
RUN case "${TARGETARCH}" in \
4245
amd64) RTK_PKG="rtk_${RTK_VERSION}-1_amd64.deb" ;; \

0 commit comments

Comments
 (0)