Commit Graph

246 Commits

Author SHA1 Message Date
Justin Hileman
47eace4182 Fix some vagrant segment copypasta 2016-02-19 10:06:52 -08:00
Justin Hileman
29d78ebaf3 Clean up a bunch of redirects, make 'em fishier. 2016-02-19 07:53:59 -08:00
Justin Hileman
873289224e Grep the vagrantfile to check for vmware_fusion
It's naive, but more likely successful than checking for vmrun, which most people prolly never link.
2016-02-19 07:53:38 -08:00
Justin Hileman
a9cc3400fa Use type -q instead of which. 2016-02-18 23:16:08 -08:00
Justin Hileman
ad36c7ada5 Add rudimentary VMWare vagrant support.
Drive-by: simplify existing virtualbox support a bit.
2016-02-18 23:16:08 -08:00
Justin Hileman
1f13fd0888 Add nerd fonts support.
Use better glyphs for Ruby and Python.
2016-02-18 22:00:31 -08:00
Justin Hileman
63cd4de4ba Word. 2016-02-03 23:13:57 -08:00
Justin Hileman
6ca1ae9246 Get rid of the last $__bobthefish_* global! 2016-02-03 23:10:57 -08:00
Justin Hileman
c2b313408c Fix $status regression. 2016-02-03 23:09:57 -08:00
Justin Hileman
cbac6362f9 Merge pull request #20 from sashaegorov/meet-vagrant
Add <stopping> to Vagrant state indicator
2016-02-01 14:48:45 -08:00
Sasha Egorov
62c77644b7 Add stopping state 2016-02-02 00:24:49 +04:00
Justin Hileman
1a20ff7194 Improve python version detection. 2016-01-25 08:00:29 -08:00
Justin Hileman
845f5f4aa6 Make all the $__bobthefish_* variables local
… and don't shadow variables in __bobthefish segment functions.

This might fix #18 and #19?
2016-01-25 07:06:48 -08:00
Justin Hileman
ac7c5c913b Add another space between virtualenv version and name
Fixes #16
2016-01-14 23:25:12 -08:00
Justin Hileman
2daba34bf8 Merge pull request #17 from sashaegorov/meet-vagrant
Meet Vagrant support
2016-01-14 23:22:02 -08:00
Sasha Egorov
3e9ce36165 Typo in comment 2015-12-16 22:18:18 +04:00
Sasha Egorov
4190fa2e0d Meet Vagrant 2015-12-16 22:12:21 +04:00
Justin Hileman
50b45f7004 Apparently the GitHub strips styles anyway. 2015-11-22 07:55:57 -08:00
Justin Hileman
3c5bb9d86a Prettify some readme things. 2015-11-22 07:55:11 -08:00
Justin Hileman
ad41beee1b Update comments and readme for vi mode. 2015-11-22 07:48:49 -08:00
Justin Hileman
d48d368ef8 Merge pull request #15 from oschrenk/support-vi-mode
Support vi mode
2015-11-22 07:44:02 -08:00
Oliver Schrenk
b094b1ec71 Early return 2015-11-22 12:53:49 +01:00
Oliver Schrenk
5314f8876a Support hiding of vi segment for special mode 2015-11-22 12:35:54 +01:00
Oliver Schrenk
92691a3c4e Move vi mode segment to front 2015-11-22 12:35:54 +01:00
Oliver Schrenk
af1e19724c Support vi mode 2015-11-22 12:35:54 +01:00
Justin Hileman
5c07612ac2 Merge pull request #11 from qatsi/title-and-time
Title and time
2015-11-11 09:43:13 -08:00
Sasha Egorov
370d867cc7 Title and time 2015-11-11 14:04:36 +04:00
Justin Hileman
b1dff8ef68 Prevent false positives for 'untracked' empty directories.
Fixes a regression in #13
2015-10-26 07:16:21 -07:00
Justin Hileman
ac43ce0631 Merge pull request #13 from pik/master
Reduce git and rbenv related rendering bottlenecks
2015-10-26 10:14:52 -04:00
hurin
5b88c7303c Fix extreme slowdown rendering git prompt with multiple untracked files 2015-10-26 18:20:09 +08:00
hurin
30c1ff9d8e Speed up rbenv prompt computation
ref: https://github.com/sstephenson/rbenv/issues/804
2015-10-26 18:20:05 +08:00
Justin Hileman
a16f186164 Merge pull request #14 from derekstavis/patch-1
README: Update install instructions
2015-10-24 17:20:21 -04:00
Derek Willian Stavis
de1d7cebf6 README: Update install instructions 2015-10-24 15:37:25 -02:00
Justin Hileman
7221fb8a32 Fix "expected a combining operator" regression.
See #10
2015-10-14 08:23:34 -07:00
Justin Hileman
bbb6a4645b Cleanup: a couple superfluous setting. 2015-10-13 21:15:59 -07:00
Justin Hileman
336f1f1ce8 Cleanup: use named args for all sorts of current_dir 2015-10-13 20:40:44 -07:00
Justin Hileman
160bc9683e Add $theme_avoid_ambiguous_glyphs
Allow users to avoid ambiguous width glyphs to prevent issues with guessing the width of multibyte characters.

For now, this just avoids `…`. We'll add some more if we run into them.

Fixes #10
2015-10-13 20:34:35 -07:00
Justin Hileman
e71317aa19 Use a compact path in the title.
See #11
2015-10-13 14:20:29 -07:00
Justin Hileman
13c35f3424 Allow disabling the title segments.
set -g theme_title_display_process yes
    set -g theme_title_display_path no

See #11
2015-10-13 14:19:57 -07:00
Justin Hileman
00f5578311 Allow overriding the right prompt date format.
set -g theme_date_format "+%a %H:%M"

… or something like that :)

See #11
2015-10-13 14:18:48 -07:00
Justin Hileman
0b9dc24eec Just a bit more Markdown cleanup 2015-07-19 16:30:24 -07:00
Justin Hileman
f7e5fd37ac Revert "Tweak branch glyph alignment."
This reverts commit fc54dbc986.
2015-07-19 16:26:59 -07:00
Justin Hileman
fc54dbc986 Tweak branch glyph alignment. 2015-07-19 16:25:56 -07:00
Justin Hileman
a195c0dea1 Clean up glyphs in README a bit, fix branch glyph. 2015-07-19 16:24:10 -07:00
Justin Hileman
da9bf50279 Add note about VIRTUAL_ENV_DISABLE_PROMPT
Fixes #5
2015-07-19 16:13:15 -07:00
Justin Hileman
2c915008cd Merge pull request #3 from tchajed/fix-ahead-behind
Fix ahead printing when both ahead and behind
2015-06-26 10:41:09 -07:00
Tej Chajed
489a2eee3d Fix ahead printing when both ahead and behind
Specifically, the awk parsing bails out early if we're ahead, even
though there may be later behind commits, resulting in a status of just
"+" when "±" would be correct.
2015-06-26 11:01:02 -04:00
Justin Hileman
ea9467fbff We do it again, but this time with the right override value 2015-06-24 15:02:40 -07:00
Justin Hileman
54aad12a34 Update README with new theme options. 2015-06-24 14:57:07 -07:00
Justin Hileman
cd15f6551c Refactor "git ahead" logic:
* Revert removal of the less-verbose style
 * Extract logic into a helper function
 * Add a flag for enabling verbose style
 * Remove a pile of unnecessary local variables
 * Code style fixes
2015-06-24 14:51:44 -07:00