summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc48
1 files changed, 24 insertions, 24 deletions
diff --git a/.zshrc b/.zshrc
index cfdc8fc..46144b2 100644
--- a/.zshrc
+++ b/.zshrc
@@ -138,8 +138,8 @@ function droid(){
ZSH_CUSTOM="$HOME/.config/zsh/plugins"
plugins=(
- # zsh-autosuggestions
- # zsh-syntax-highlighting
+ zsh-autosuggestions
+ zsh-syntax-highlighting
)
for plugin in $plugins; do
@@ -216,39 +216,39 @@ alias ....='cd ../../..'
# ===================== Double line prompt ======================
-autoload -Uz vcs_info # loads zsh's version-control info system
-setopt PROMPT_SUBST # allows variable/command expansion inside PROMPT
+# autoload -Uz vcs_info # loads zsh's version-control info system
+# setopt PROMPT_SUBST # allows variable/command expansion inside PROMPT
# palette — catppuccin mocha (prominent accents)
-MAUVE='%F{#cba6f7}' # signature Mocha accent — used for username
-BLUE='%F{#89b4fa}' # used for current path
-TEAL='%F{#94e2d5}' # used for git branch name
-YELLOW='%F{#f9e2af}' # used for unstaged-changes marker
-PEACH='%F{#fab387}' # used for staged-changes marker
-PINK='%F{#f5c2e7}' # used for git action (rebase/merge/etc)
-RED='%F{#f38ba8}' # used for prompt arrow on command failure
-GREEN='%F{#a6e3a1}' # used for prompt arrow on command success
-SUBTEXT='%F{#a6adc8}' # muted tone for structural characters/text
-RESET='%f' # resets foreground color back to default
+# MAUVE='%F{#cba6f7}' # signature Mocha accent — used for username
+# BLUE='%F{#89b4fa}' # used for current path
+# TEAL='%F{#94e2d5}' # used for git branch name
+# YELLOW='%F{#f9e2af}' # used for unstaged-changes marker
+# PEACH='%F{#fab387}' # used for staged-changes marker
+# PINK='%F{#f5c2e7}' # used for git action (rebase/merge/etc)
+# RED='%F{#f38ba8}' # used for prompt arrow on command failure
+# GREEN='%F{#a6e3a1}' # used for prompt arrow on command success
+# SUBTEXT='%F{#a6adc8}' # muted tone for structural characters/text
+# RESET='%f' # resets foreground color back to default
# format for normal git state (branch + unstaged/staged indicators)
-zstyle ':vcs_info:git:*' formats "${SUBTEXT}on ${TEAL}%b${YELLOW}%u${PEACH}%c${RESET}"
+# zstyle ':vcs_info:git:*' formats "${SUBTEXT}on ${TEAL}%b${YELLOW}%u${PEACH}%c${RESET}"
# format used during an in-progress git action (e.g. rebase, merge)
-zstyle ':vcs_info:git:*' actionformats "${SUBTEXT}on ${TEAL}%b${SUBTEXT}|${PINK}%a${RESET}"
+# zstyle ':vcs_info:git:*' actionformats "${SUBTEXT}on ${TEAL}%b${SUBTEXT}|${PINK}%a${RESET}"
-zstyle ':vcs_info:*' check-for-changes true # enable staged/unstaged detection (can slow big repos)
-zstyle ':vcs_info:*' unstagedstr ' *' # symbol shown when there are unstaged changes
-zstyle ':vcs_info:*' stagedstr ' +' # symbol shown when there are staged changes
+# zstyle ':vcs_info:*' check-for-changes true # enable staged/unstaged detection (can slow big repos)
+# zstyle ':vcs_info:*' unstagedstr ' *' # symbol shown when there are unstaged changes
+# zstyle ':vcs_info:*' stagedstr ' +' # symbol shown when there are staged changes
-precmd() { vcs_info } # runs vcs_info before each prompt draw, refreshing git status
+# precmd() { vcs_info } # runs vcs_info before each prompt draw, refreshing git status
-PROMPT='
-${SUBTEXT}╭─${MAUVE}%n${SUBTEXT}@%m ${BLUE}%~${RESET} ${vcs_info_msg_0_}
-${SUBTEXT}╰─%(?.${GREEN}.${RED})❯${RESET} '
+# PROMPT='
+# ${SUBTEXT}╭─${MAUVE}%n${SUBTEXT}@%m ${BLUE}%~${RESET} ${vcs_info_msg_0_}
+# ${SUBTEXT}╰─%(?.${GREEN}.${RED})❯${RESET} '
# line 1: top border, username (%n), host (%m), current dir (%~), git info
# line 2: bottom border + arrow — %(?.X.Y) is a ternary: X if last command
# succeeded (exit code 0), Y otherwise
# Starship prompt
# for times when prompt gets boring
-# eval "$(starship init zsh)"
+eval "$(starship init zsh)"