caiogondim / bullet-train.zsh Goto Github PK
View Code? Open in Web Editor NEW:bullettrain_side: An oh-my-zsh shell theme based on the Powerline Vim plugin
License: MIT License
:bullettrain_side: An oh-my-zsh shell theme based on the Powerline Vim plugin
License: MIT License
See https://github.com/olivierverdier/zsh-git-prompt for inspiration
If the user sets one conf var, the theme does not get that value.
i add this option in my .zshrc file
BULLETTRAIN_NVM_SHOW=false
then new a terminal ,still show the node version..
Looks like the theme is looking for the rvm's path inside the virtualenv since It only shows this warning when I use this theme. I am using virtualenvwrapper.
I solve this trouble now doing this on line 203:
# RVM: only shows RVM info if on a gemset that is not the default one
prompt_rvm() {
local virtualenv_path="$VIRTUAL_ENV"
if [[ -n $virtualenv_path || $BULLETTRAIN_RVM_SHOW == false ]]; then
return
fi
...
P.S. I am using Ubuntu 14.04LTS, rvm 1.25.28 and ruby-2.1.2.
Hope to find the solution. This theme it's promising ๐
In the readme GIF i see you have an emoji snake for the virtualenv, how did you get that?
Bug on the segment introduced on #106
Please add support for hostname display. This is handy for those of us with more than one machine we work on :)
Thanks!
It appears that this line has an unmatched double quote. https://github.com/caiogondim/bullet-train-oh-my-zsh-theme/blob/master/bullet-train.zsh-theme#L438
I think this might be the cause of the recent breakage.
Hi! Loving the theme.
I started a branch to add username and hostname, and I see that BULLETTRAIN_DIR_EXTENDED is supposed to "Show user and machine in an SCP formatted style."
It doesn't seem to be working, for me at least. I set it true explicitly, and reloaded the theme, and I still see the path but not $USER@$HOST:$PATH like I would expect.
I'm seeing
/Users/me/.oh-my-zsh/themes/bullet-train.zsh-theme:46: unmatched "
when I use this theme, can't easily seem to see what's missing here ?
Alex
I am using Ubuntu 14.04 and recently I install zsh.
Also I add bullet-train-oh-my-zsh-theme and follow this step.
ZSH_THEME="bullet-train"
Current user logout and again login, my terminal look like this,
As I notice arrow not visible properly in my terminal. I need to the same look like: https://goo.gl/o2RnFB
How to loading navigation arrow image in my terminal?
This line is not handling the output of the command which
.
Also, nvm is a function, it's presence should be validated with type
command, I think.
Is it possible to re-order the segments?
Hey @caiogondim,
Just bringing this to your attention --- wondering if this is a product of the font I'm using or the system configuration:
See how the last arrow is slightly discolored? That just bugs me.
Oddly enough, that behavior only happens for the last arrow:
FYI, I'm using Source Code Pro for Powerline. What font are you using?
It would be nice to have an indicator of whether zsh vi mode was in insert or normal mode. Here's an article explaining how someone solved this problem.
I am getting:
themes/bullet-train.zsh-theme:5: parse error near `\n'
When I auto-complete a command using tab, it add a character at the beginning of the prompt.
Example:
ls[space][tab] adds a "l" at the beginning of the line and then I can't delete this char.
Only happens when BULLETTRAIN_PROMPT_SEPARATE_LINE is set to true.
Works fine in terminal.app but not in iTerm2.
Any ideas?
I'm using Arch Linux with urxvt. The default font for urxvt does not work with this theme. Could you include documentation that lists the requirements for the types of fonts that do work? I know a certain range of Unicode fonts is required - I found this out after playing with different font settings, but I still haven't found a working font.
I'm getting this error on C-c, I'm guessing it's some kind of character compatibility but I have the patched fonts and everything else is fine.
zsh --version
zsh 5.0.8 (x86_64-pc-linux-gnu)
prompt_git:12: command not found: git_prompt_info
prompt_git:12: command not found: git_prompt_status
For those who prefer a 12 hour timestamp (am/pm style) it would be nice to support it and have a flag to enable/disable.
I'm going to submit a PR for this in a second but just wanted to open a proper issue for it.
Segments order should be configurable.
Maybe passing an array as the wanted order?
Can this theme support a right prompt?
Hi,
tried this on OS x and Arch linux, the exit status feature doesn't work:
build_prompt() {
echo RETVAL: $?
RETVAL=$?
...
=>
$ asdasd
zsh: command not found: asdasd
RETVAL: 0
22.49.22 ๎ฐ ~ ๎ฐ
$
Am I missing a setting or it's an issue here?
Cheers,
psz
I'm on iTerm2. Notice how at the bottom after master โ
the background goes back to blue instead of black like the terminal background:
(older screenshot removed, replaced with newer one below)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.