Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get rid of arrow from start of prompt #5088

snowe2010 opened this issue May 13, 2016 · 4 comments

Can't get rid of arrow from start of prompt #5088

snowe2010 opened this issue May 13, 2016 · 4 comments


Copy link

@snowe2010 snowe2010 commented May 13, 2016

I have an arrow at the start of every single prompt I try to use, and I can't figure out how to get rid of it. I don't know what is causing it, as I'm just using default themes. I'm not sure how to debug it.

You can see it in the image, as the blue arrow, it turns red when a command fails.


Copy link

@mcornella mcornella commented May 14, 2016

Please post your zshrc file and the bira theme you're using in case you modified it.


Copy link

@snowe2010 snowe2010 commented May 17, 2016

I haven't modified any themes, it happens with every theme no matter which I use. Here is my .zshrc

# Path to your oh-my-zsh installation.
export ZSH=/Users/tylerthrailkill/.oh-my-zsh

# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.

# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.

# Uncomment the following line to disable bi-weekly auto-update checks.

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line to disable colors in ls.

# Uncomment the following line to disable auto-setting terminal title.

# Uncomment the following line to enable command auto-correction.

# Uncomment the following line to display red dots whilst waiting for completion.

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|""|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(brew bundler colorize common-aliases fancy-ctrl-z git git-flow git-prompt gitfast grunt gulp jsontools lol mvn nyan spring sublime thefuck themes)

# User configuration
export JAVA_HOME=$(/usr/libexec/java_home)

# Maven Configuration
export M2_HOME=~/Applications/ActiveVersions/Maven
#export MAVEN_OPTS='-Xmx1024m'

# Gradle Configuration
export GRADLE_HOME=~/Applications/ActiveVersions/Gradle

# Docker Configuration

# Kafka Configuration
# export KAFKA_HOME=~/Applications/ActiveVersions/Kafka

# WebDriver Configuration
export PHANTOM_JS=~/Applications/ActiveVersions/PhantomJS

# ** Terminal Preference and Configuration **

export PATH="$M2_HOME/bin:$GRADLE_HOME/bin:$PHANTOM_JS/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
# export MANPATH="/usr/local/man:$MANPATH"

source $ZSH/

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/dsa_id"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

#Add the following line to your ~/.bash_profile or ~/.zshrc file (and remember
#to source the file to update your current session):
  [[ -s $(brew --prefix)/etc/profile.d/ ]] && . $(brew --prefix)/etc/profile.d/

#If you use the Fish shell then add the following line to your ~/.config/fish/
#  [ -f /usr/local/share/autojump/ ]; and . /usr/local/share/autojump/

eval $(thefuck --alias)

test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"

alias findextension="find . -type f -name "
alias deleteextension="find . -type f -delete -name "
eval "$(rbenv init -)"
alias history=history
alias ms="mvn spring-boot:run"
alias mci="mvn clean install"

source ~/git-completion.bash

dock() {
  docker-machine start;
  docker-machine env;
  eval $(docker-machine env);
  docker-compose up;
dock-stop() {
  docker-machine stop;


Also, I'm not sure if it matters, but I'm using Mac El Capitan


Copy link

@apjanke apjanke commented May 24, 2016

That doesn't look like a character that OMZ itself is printing, but a prompt decoration displayed by the terminal, like El Capitan's, or the new iTerm2 version 3 beta. (This one in particular looks like the beta iTerm 3's "Marks" feature.)

What terminal emulator are you using? If it's iTerm, you can turn it off by going in to Preferences > Profiles > (your profile) > Terminal, scroll down to "Shell Integration", and turn off "Show mark indicators".

Mark indicators may only be shown with some themes, because (I think) it's up to the prompt string, which is controlled by the theme, to emit a terminal control sequence indicating the start of a command prompt. This lets the terminal ensure that the prompt is displayed on a new line.


Copy link

@snowe2010 snowe2010 commented Jun 6, 2016

AH fantastic. It was iTerm's Marks feature. I didn't even think of iTerm. I guess the next thing for me to figure out is why the prompt is disappearing at some points. I'm betting that's iTerm also. Thank you a lot @apjanke!


@snowe2010 snowe2010 closed this Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants