Skip to content

How to use this with zsh and the ohmyzsh configuration #52

Answered by rickstaa
rickstaa asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, I think this is the setup you're using:

  • Shell: zsh
  • Configuration: Oh My Zsh
  • Theme: agnoster

The agnoster theme involves intricate PS1 modifications not currently monitored by the tmux-notify plugin. To address this, you need to focus on the prompt suffix defined in the following function block:

Main prompt
build_prompt() {
 RETVAL=$?
 prompt_status
 prompt_context
 prompt_dir
 prompt_git
 prompt_end
}

Source: agnoster.zsh-theme

This suffix is dynamically generated through the prompt_end function. To access the current suffix for a specific directory, you can use the SEGMENT_SEPERATOR symbol:

SEGMENT_SEPARATOR=''

Source: agnoster.zsh-theme

For your scenario, you should set the foll…

Replies: 1 comment

Comment options

rickstaa
Aug 24, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by rickstaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant