diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-06-18 21:58:23 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-06-18 21:58:23 -0400 |
| commit | a03be895e586010986a90742b885a742310d2a89 (patch) | |
| tree | f8760709587604cb40c78c9390014a6f18ccda41 /.zshrc | |
| parent | f9ff2f77f0009dba2c8278f79399afb2f8157418 (diff) | |
fix hyprland launch and git ps1
Diffstat (limited to '.zshrc')
| -rw-r--r-- | .zshrc | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -14,10 +14,15 @@ setopt hist_ignore_space setopt autocd setopt extendedglob -# Prompt +# Aliases alias ls='ls --color=auto' alias grep='grep --color=auto' -PROMPT="[%B%F{33}%n%f%b%F{15}@%f%F{81}%m%f] %F{47}%~ %F{15}$ " + +# Prompt +set_prompt() { + PROMPT="[%B%F{33}%n%f%b%F{15}@%f%F{81}%m%f] %F{47}%~ %F{105}$(git-ps1)%F{15}$ " +} +precmd_functions+=(set_prompt) # Vi mode bindkey -v @@ -37,4 +42,4 @@ zle-line-init() { zle -N zle-line-init echo -ne '\e[5 q' # Use beam shape cursor on startup. preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt. -KEYTIMEOUT=1 +KEYTIMEOUT=1 # remove lag |
