Buck Ryan
feb9c8550e
fix bug in svn segment
2018-07-01 21:13:15 -04:00
Buck Ryan
54f7b90052
Merge branch 'develop' into stdout-segment
2018-06-21 18:17:52 -04:00
Buck Ryan
af919e1772
Custom segment support
...
Closes #407
The changes in 407 were on the right track, but didn't take it all the
way. Some issues it had:
- Did not call `expanduser` to handle paths like `~/segment.py`
- Did not appear to work on both Python 2 and Python 3
- Did not show a meaningful message when a segment cannot be found
This commit repurposes the code written to import custom themes for
segments.
2018-06-20 10:18:06 -04:00
Buck Ryan
c2932e7e8f
Merge pull request #383 from dundalek/feature/time-format
...
Add format option for time segment
2018-05-07 10:51:49 -04:00
Buck Ryan
b53337c215
Merge branch 'develop' into stdout-segment
2018-04-25 09:55:50 -04:00
Buck Ryan
73b01d6597
Revert "implement fix for #249 "
...
This reverts commit 86fd04c7a8 .
Closes #389
2018-04-22 12:13:10 -04:00
Buck Ryan
bbb7354068
Merge pull request #388 from monicaycli/master
...
add gruvbox theme
2018-04-21 17:14:21 -04:00
Buck Ryan
ac3be5f7b3
Better handling of invalid JSON config files
...
Closes #371
2018-04-21 16:44:48 -04:00
Buck Ryan
86fd04c7a8
implement fix for #249
...
closes #249
2018-04-21 16:15:12 -04:00
Buck Ryan
668a964291
update changes from #354 for py3
2018-04-21 15:59:39 -04:00
Buck Ryan
6eff2101be
Merge pull request #354 from comagnaw/fix_hostname_colorize
...
Fix hostname colorize
2018-04-21 15:59:07 -04:00
Monica Li
4e74b9a12a
add gruvbox theme
2018-04-21 13:55:56 -04:00
Buck Ryan
e828f264be
python3 compat for git_stash
...
fixes #384
tested py2 & py3
2018-04-13 10:13:25 -04:00
Alex Pinkney
15a6172a2c
Move git stash symbol definition to utils.RepoStats.symbols
2018-04-10 06:21:23 -04:00
Jakub Dundalek
7f72c1b031
Add format option for time segment
2018-03-29 16:28:37 +02:00
Alex Pinkney
709c5ba215
Add git_stash segment
2018-03-20 13:16:28 +00:00
Alex Pinkney
fc62b0f888
Move get_PATH and x_subprocess_env functions into utils.py
2018-03-20 13:09:48 +00:00
Buck Ryan
ae33f7e7cf
Merge pull request #312 from amkarthik/master
...
Real Virtual env name while using "pipenv"
2018-02-26 10:05:46 -05:00
Buck Ryan
cf6a804fd4
Merge pull request #334 from kc9jud/xdg-base-directory
...
config: Support config in $XDG_CONFIG_HOME
2018-02-23 23:12:27 -05:00
Blue-Dog-Archolite
6ff4b50376
Ruby Segment changes:
...
- use "GEM_HOME" in keys
- removal of python2 specific code
- verification of python2 / python3 functionality
- use of format in append to replace string join
2018-02-22 15:39:11 -07:00
Buck Ryan
9a9ce2ac79
Merge pull request #364 from b-ryan/respect-max-plain
...
respect max dir setting for plain cwd
2018-02-22 10:31:17 -05:00
Buck Ryan
b07c8ef4cb
Patch environment for VCS rather than creating new one
...
Closes #240
2018-02-22 10:24:24 -05:00
Buck Ryan
27574cc79b
Fix tests and some py2/py3 issues
2018-02-19 10:45:02 -05:00
Buck Ryan
3ba8376175
Merge pull request #362 from TiGR/patch-1
...
Fix double-escape of user/root ($/#) indicator (fixes #315 )
2018-02-19 10:09:22 -05:00
Buck Ryan
47ca2df524
nevermind on extra theme variables
2018-02-18 22:04:43 -05:00
Buck Ryan
f0caebd26f
segment that gets an environment variable
2018-02-18 21:52:51 -05:00
Buck Ryan
9703379d58
create an stdout segment that just plops in outputs of commands
2018-02-18 21:42:02 -05:00
Buck Ryan
b7dc34572c
Merge pull request #349 from emansije/fix-svn-segment
...
Fixes and enhances svn segment
2018-02-18 21:23:25 -05:00
Buck Ryan
a9050d0f61
respect max dir setting for plain cwd
2018-02-18 21:09:22 -05:00
Igor Tarasov
c413236ee6
Move escaping back to append and make it optional
2018-02-16 00:43:42 +04:00
Igor Tarasov
235d3a8fda
Fix double-escape of user/root ($/#) indicator ( fixes #315 )
...
If our segment is ' \\$ ' then it is already sanitized and should not be escaped again, so we avoid it.
2018-02-12 00:16:04 +04:00
comagnaw
81653f4c0c
Fixing indent
2018-02-03 23:11:55 -05:00
comagnaw
15c4aee277
Add conversion to float before pass to rgb_to_hls
2018-02-01 22:29:06 -05:00
Buck Ryan
e7964d1682
prepare 0.4.8
2018-01-29 12:01:32 -05:00
Buck Ryan
3c3062e3ce
Merge pull request #352 from b-ryan/fix-custom-themes
...
A possible solution for allowing custom themes
2018-01-29 11:48:20 -05:00
Buck Ryan
4b26d19907
default time vars
2018-01-29 11:45:31 -05:00
Gaurav Nelson
f0293999c7
added seperate variables for customizing colors for time segment
2018-01-29 14:00:34 +10:00
Buck Ryan
bcaa7e6e4d
A possible solution for allowing custom themes
2018-01-28 22:37:46 -05:00
Emanuel Angelo
a1b536b85b
Fixes and enhances svn segment
...
Uses the 'info' command with XML output to make it localization independent.
Prepares the segment for testing.
2018-01-18 00:29:32 +00:00
Buck Ryan
4d4241fba0
Add back SVN symbol
2018-01-15 12:02:50 -05:00
Buck Ryan
ef5b837aef
Merge remote-tracking branch 'emansije/vcs-symbols' into emansije-merge
2018-01-15 12:00:45 -05:00
Emanuel de Jesus
bbaacc1a3c
Merge branch 'master' into vcs-symbols
2018-01-13 21:55:29 +00:00
Patrick Fasano
126f700678
svn: Don't use kwarg for split()
...
Fixes #344
2018-01-11 15:08:38 -05:00
Buck Ryan
d855683d1e
remove use of PWD in segments
2017-12-20 12:27:49 -05:00
Buck Ryan
62ffb74fd6
Fix handling of CWD on Bash for Windows
...
Fixes
https://github.com/b-ryan/powerline-shell/issues/339
See comments for explanation
2017-12-20 12:14:54 -05:00
Buck Ryan
744d9382f4
Merge pull request #337 from ericLemanissier/patch-1
...
fix package missing in cygwin
2017-12-19 11:20:56 -05:00
ericLemanissier
40f54515c0
space formatting
2017-12-19 09:45:57 +01:00
ericLemanissier
1809074a23
always using getpass package to get user
2017-12-19 09:45:10 +01:00
Emanuel de Jesus
235e02b831
Merge branch 'master' into vcs-symbols
2017-12-14 23:17:29 +00:00
Buck Ryan
7f837ed02c
Merge pull request #333 from kc9jud/svn
...
svn: Update segment to ThreadedSegment
2017-12-12 15:35:04 -05:00