Commit Graph

606 Commits

Author SHA1 Message Date
Jocelyn Thode
cff228e342 Update bira theme (#4954)
* Add '#' instead of '$' when in root
* Make return code bold
2016-10-15 14:02:01 +02:00
Marc Cornellà
015598b8a8 Display suvash prompt w/o Ruby; refactor code 2016-10-14 00:24:30 +02:00
FireWave
fe605e142f Change confusing 12h without AM/PM to a clean 24h display.
It was not possible to simply add AM/PM since strftime return blank for %p %P
2016-10-03 15:00:39 -04:00
FireWave
9d35d3a5d5 Revert "Change confusing 12h-time without AM/PM to system-localized time"
This reverts commit 06d52a6038.
2016-10-03 14:58:51 -04:00
FireWave
06d52a6038 Change confusing 12h-time without AM/PM to system-localized time 2016-09-30 14:12:03 -04:00
Dawnflash Lightstring
7e5483d672 Add check for git and bzr to agnoster theme
Plugin command-not-found on Arch Linux returns 0 if git or bzr is found in repos, hence outputting unwanted pkgfile output.
Checking if the commands exist first fixes all such issues.
2016-09-21 12:20:08 +02:00
grindhold
d1ce70f685 added support for bazaar in agnoster theme (#5016)
the agnoster theme is now able to render basic information
if the user is currently residing inside a bazaar folder.
if so, it will render a green promt segment with "bzr" and
the current revision number in it. if there are untracked
files, the bar will be rendered in yellow. if there are
changes to already tracked files, a + character will be
printed.
2016-09-19 20:00:42 -07:00
Matt Nichols
fb8953d525 Fix peepcode theme ruby prompt info (#5339)
The ruby prompt info was not interpolating properly. Switching to use
 ruby_prompt_info helper. This addresses the issue.
2016-09-19 20:00:16 -07:00
khenarghot
292a62e3ab Fix git emptiness check in dogenpunk theme (#5329)
The parsing output for full git log output too slow so it replaced
with last commit show request, wich cause error if repository is empty
2016-08-21 18:40:34 +02:00
Arz Yu
1e9084c3c7 muse theme: Remove extra spaces for none git/virtualenv prompt (#5278)
* muse theme: Remove a extra space for none git prompt

* muse theme: Remove a extra space for none virtualenv prompt
2016-08-14 17:33:48 -07:00
Anton
a7e30b26ba Fix hg call when missing on archlinux with command-not-found (#5218) 2016-07-22 15:04:35 +02:00
Adam Glenn
cc8285b1f7 adding python virtualenv support to the prompt (#5031)
adding python virtualenv support to muse theme
2016-07-19 21:01:00 +02:00
Harald Nordgren
53acf21182 Peepcode theme: Don't try to use RVM if it's not available (#5154) 2016-06-15 00:12:24 +02:00
Pierre Dimitrou
b1ab13d9e6 Add rbenv support for ruby version display 2016-05-14 22:05:35 +02:00
Marc Cornellà
d310fac7f6 Merge pull request #4572 from aioutecism/master
Avoid using "PREFIX" that cause nvm to complain about.
2016-04-06 12:03:20 +02:00
Marc Cornellà
82a4587427 Use grep -q for silent behavior 2016-04-04 23:06:08 +02:00
Marc Cornellà
e1b04cfecd Fix logic of bureau_git_status function
This separates the gathering of file status, repository status and
stash.
2016-04-04 20:39:10 +02:00
Jon-Erik Johnzon (TorrentKatten)
e8a9d0ee1a localization support for clock in candy theme
Now uses 12-hour clock or 24-hour clock depending
on user locale
2016-03-30 21:46:39 +02:00
Marc Cornellà
7cc1eab6fa Merge pull request #2752 from isqua/bureau_theme_fix
Fix checkmark for clean repo in bureau theme
2016-03-30 04:36:41 +02:00
Yad Smood
9cc3e8bf29 Optimize the ys.zsh-theme make it simpler 2016-03-24 15:29:24 +08:00
Robby Russell
83cf8dc16f Merge pull request #4790 from lckarssen/avit-theme-fixes
Avit theme fixes
2016-03-11 00:18:00 -08:00
Robby Russell
fdff70006c Merge pull request #4863 from ysmood/optimize-ys-theme
Optimize the ys.zsh-theme make it more expressive
2016-03-11 00:17:14 -08:00
L.C. Karssen
55fed4f8cd Fix use of CARETCOLOR in avit theme
$CARETCOLOR was not to actually colour the caret, so change to root user
wouldn't show in the prompt. Now both ▶ and ◀ follow $CARETCOLOR.
2016-03-07 22:15:45 +01:00
L.C. Karssen
9c36248439 Better visible colours in avit for Ubuntu terminal
Make some colours in the avit theme bold for better visibility in the
default Ubuntu terminal theme.
2016-03-07 22:14:33 +01:00
L.C. Karssen
cfac963772 Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh 2016-03-07 22:09:02 +01:00
Yad Smood
9a2376bd29 add: exit code 2016-02-21 02:42:42 +08:00
Yad Smood
aeca2ad899 Optimize the ys.zsh-theme make it more expressive 2016-02-21 01:39:01 +08:00
Kenneth Reitz
568f4812f2 update kennethreitz.zsh-theme 2016-02-14 04:19:46 -05:00
Kenneth Reitz
07424c92a8 Update kennethreitz.zsh-theme 2016-02-14 03:44:31 -05:00
Marc Cornellà
3d522ff3a6 Remove non-working symbols and tidy up logic 2016-02-12 23:39:47 +01:00
Nick Russo
20b8b6cc74 Sets spacing to 1 when git is absent for consistency 2016-02-12 01:20:47 -08:00
L.C. Karssen
0a47451a46 Updated colour of ◀ in PROMPT2 of the avit theme.
In commit 729fd53 I incorrectly only changed PROMPT1. Now both ▶ and ◀ follow $CARETCOLOR.
2016-01-13 10:00:32 +01:00
L.C. Karssen
63e216ba9d oh-my-zsh avit theme: instead of only showing the last 3 directories in the $PWD shorten the path by removing some middle parts if $PWD becomes too long. 2016-01-13 10:00:32 +01:00
L.C. Karssen
18801e25d2 Shorter way of creating bold colours in a ZSH theme (applied to the avit theme). 2016-01-13 10:00:32 +01:00
L.C. Karssen
ceca00a503 Adapt some colours in the avit theme for better visibility in the default Ubuntu terminal theme. 2016-01-13 10:00:32 +01:00
L.C. Karssen
854c41d843 Fix in avit theme: $CARETCOLOR was not to actually colour the caret, so change to root user wouldn't show in the prompt. 2016-01-13 10:00:32 +01:00
L.C. Karssen
a67dfae72b Set colour for user@hostname to red if we're root (or sudo) in the bira theme. 2016-01-13 10:00:32 +01:00
Marc Cornellà
8a3b78e011 Merge pull request #4536 from alexws54tk/patch-1
Update frontcube.zsh-theme
2015-12-15 03:26:19 +01:00
Andrew Janke
9f552130bd Move current_branch() from git plugin to core lib/git.zsh
Fixes #4085: core -> plugin dependency issue.
Rename it to git_current_branch for clarity that it's git-specific.
Update all plugins that were calling it to use new name.
Fix variable leaks by making more variables in lib/git.zsh local.
Have lib/git.zsh use [[ ]] instead of [ ] everywhere.
2015-12-14 20:28:37 -05:00
Marc Cornellà
8d6fccef81 Merge pull request #4589 from apjanke/agnoster-powerline-char-stronger-warning
agnoster theme: stronger warning about changing SEGMENT_SEPARATOR character
2015-12-15 02:08:45 +01:00
Danyil Bohdan
b15918d414 "fishy" theme: Fix "~" use in prompt
Actually replace the value of the environment variable $HOME with
"~" instead of appending the tilde in front of the prompt.
2015-12-14 13:38:28 +02:00
Danyil Bohdan
2e3731c5b1 "fishy" theme: Shorten path .foo to .f, not .
When the current path is /home/user/.config/doublecmd the prompt
now reads "/h/u/.c/doublecmd", not "/h/u/./doublecmd" as was the
case. This matches what the Fish shell does.

Enclose the Perl snippet in single quotes instead of double quotes.
2015-12-04 20:19:15 +02:00
Justin LeFebvre
76c423862f I noticed that for certain projects with unstaged changed I would get a 'U' character instead of the '●' character. This should fix that. 2015-11-07 20:05:30 -05:00
Andrew Janke
cc116f65d6 agnoster: stronger warning about changing SEGMENT_SEPARATOR character 2015-11-06 19:44:26 -05:00
aioute Gao
e66afc0318 Avoid using "PREFIX" that cause nvm to complain about. 2015-11-02 16:12:38 +09:00
Alexander Golikov
67abf0f955 Update frontcube.zsh-theme
Fix «rvm» variable usage in RPROMPT out
2015-10-22 16:58:44 +05:00
justvitalius
dc3413b91c Fix print rvm version in amuse theme 2015-09-27 19:01:12 +03:00
Robby Russell
a8617192f7 Merge pull request #4340 from pahnev/master
Fixed broken git branch icon
2015-09-26 09:29:14 -07:00
Alexis Hildebrandt
1a51100d09 Fix issues with character widths in emotty theme 2015-09-20 11:45:30 +02:00
Robby Russell
183026f79c Merge pull request #4316 from bronzdoc/feature/rvm_amuse_theme
Display rvm ruby version
2015-09-19 09:22:49 -07:00