Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

% (percent symbol) appears when using Oh-My-zsh #70

Closed
rdrms opened this issue Aug 22, 2018 · 2 comments
Closed

% (percent symbol) appears when using Oh-My-zsh #70

rdrms opened this issue Aug 22, 2018 · 2 comments

Comments

@rdrms
Copy link

rdrms commented Aug 22, 2018

Seems to be the exact same issue as vercel/hyper#2144

This is due to the session shell invoking. Since we print the window before creating the required IPC connectors.

@rdrms rdrms changed the title % symbol appears when using Oh-My-zsh % (percent symbol) appears when using Oh-My-zsh Aug 22, 2018
@YOUR-WORST-TACO
Copy link

YOUR-WORST-TACO commented Sep 13, 2018

I am also getting this behavior on several different terminals, and it seems to be intermittent, ie it only happens about 50% of the time, terminals I have seen that are affected

  • termite
  • urxvt
  • kitty

note I use a few settings in my .zshrc
so I will share them for reference

export ZSH="/home/taco/.oh-my-zsh"
export GOPATH=/home/taco/.local/share/go

cat /home/taco/.config/wpg/sequences

plugins=(
  git
)

source $ZSH/oh-my-zsh.sh

alias ubuntu-dev='docker run -t -i ubuntu /bin/bash'
alias void-dev='docker run -t -i voidlinux/voidlinux /bin/bash'
alias fedora-dev='docker run -t -i fedora /bin/bash'
alias alpine-dev='docker run -t -i alpine /bin/ash'

alias music='ncmpcpp -c ~/.ncmpcpp/config-art && pkill covart'

alias dots='git --git-dir=$HOME/.dots.git/ --work-tree=$HOME'

##########################################
#
# Prompt
#
##########################################

prompt_error() {
    RETVAL=$?

    if [ ! "$RETVAL" = "0" ]; then
        echo -n "%F{9}$RETVAL%f"
    fi
}

PROMPT=$(
    echo "%F{14}%2~ %f⩽ "
)

RPROMPT='$(prompt_error)'

@justforlxz
Copy link
Contributor

Sorry, this issue will be closed soon. If it is necessary to discuss it again, please create a new issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants