Themes & WezTerm tab titles
This commit is contained in:
parent
eb400e2e49
commit
6ca24876b0
@ -1,4 +1,5 @@
|
||||
source "$CONFIGDIR/zsh/plugins/zsh-git-prompt/zshrc.sh"
|
||||
source "$CONFIGDIR/zsh/plugins/catppuccin-zsh-syntax-highlighting/themes/catppuccin_mocha-zsh-syntax-highlighting.zsh"
|
||||
source "$CONFIGDIR/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
source "$CONFIGDIR/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||
|
||||
@ -14,6 +15,12 @@ configPrompt() {
|
||||
*) PROMPT_EMOJI="😵💫";;
|
||||
esac
|
||||
|
||||
if [ -x "$(command -v wezterm)" ]; then
|
||||
if [ "$TERM_PROGRAM" = "WezTerm" ]; then
|
||||
wezterm cli set-tab-title "$PROMPT_EMOJI $(pwd)"
|
||||
fi
|
||||
fi
|
||||
|
||||
PROMPT="$PROMPT_EMOJI [%c] "
|
||||
RPROMPT="$(git_super_status)"
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
Subproject commit 7926c3d3e17d26b3779851a2255b95ee650bd928
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -7,3 +7,6 @@
|
||||
[submodule ".config/zsh/plugins/zsh-autosuggestions"]
|
||||
path = .config/zsh/plugins/zsh-autosuggestions
|
||||
url = https://github.com/zsh-users/zsh-autosuggestions
|
||||
[submodule ".config/zsh/plugins/catppuccin-zsh-syntax-highlighting"]
|
||||
path = .config/zsh/plugins/catppuccin-zsh-syntax-highlighting
|
||||
url = https://github.com/catppuccin/zsh-syntax-highlighting.git
|
||||
|
Loading…
Reference in New Issue
Block a user