Skip to content

Commit

Permalink
fix: force > as prompt even when zsh theme exists (#17)
Browse files Browse the repository at this point in the history
* fix: force > as prompt even when theme exists

Signed-off-by: Chapman Pendery <[email protected]>

* fix: load add-zsh-hook

Signed-off-by: Chapman Pendery <[email protected]>

---------

Signed-off-by: Chapman Pendery <[email protected]>
  • Loading branch information
cpendery authored Mar 6, 2024
1 parent f8739f9 commit 1e740bf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion shell/shellIntegration-rc.zsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
builtin autoload -Uz add-zsh-hook

if [[ -f $USER_ZDOTDIR/.zshrc ]]; then
ZDOTDIR=$USER_ZDOTDIR
. $USER_ZDOTDIR/.zshrc
fi

PS1="> "
__tui_precmd() {
PS1="> "
}
PS1="> "

add-zsh-hook precmd __tui_precmd

0 comments on commit 1e740bf

Please sign in to comment.