Commit graph

300 commits

Author SHA1 Message Date
Bryan Grimes 334dd0c631 aws_profile segment added 2016-01-14 10:56:54 -05:00
Buck Ryan 9fb1c94dfa readme note about #212 2015-12-26 16:51:27 -05:00
Buck Ryan 71dd624c2c Merge pull request #212 from b-ryan/feature/test-framework
Test framework
2015-12-26 16:48:29 -05:00
Buck Ryan acd0e081b6 convert uptime comments into test cases 2015-12-26 13:14:15 -05:00
Buck Ryan 9281d907f2 add circle.yml that installs dev_requirements.txt 2015-12-26 13:14:15 -05:00
Buck Ryan c22d1af48b add tests for the git segment 2015-12-26 13:13:53 -05:00
Buck Ryan 03e74797ea have the install script add each segment so the files can be imported for testing 2015-12-26 13:13:01 -05:00
Buck Ryan b3d914bb00 readme note 2015-12-26 10:32:36 -05:00
Buck Ryan 713194d1d0 Merge pull request #220 from ceholden/py3
Py3 fixes to lib/color_compliment.py
2015-12-26 10:31:27 -05:00
Chris Holden d22338fff8 Fix sys.version_info for Python<=2.6
sys.version_info doesn't have named tuple components prior
to Python 2.7
https://docs.python.org/2/library/sys.html#sys.version_info
2015-12-22 02:33:00 -05:00
Chris Holden c07c4be6b4 Fix unicode digest error on Py3
Encoding works on Py2.7, but will only encode if Py3 in case
it breaks earlier Py2.x
2015-12-22 01:47:51 -05:00
Chris Holden 1f1acb81cb Fix py3 ImportError by using relative import 2015-12-22 01:45:55 -05:00
Chris Holden 6bef8fab1d Try hashlib over md5 (md5 is deprecated) 2015-12-22 01:42:09 -05:00
Buck Ryan b9845c56f3 change the install command's hashbang to just python 2015-12-16 12:36:41 -05:00
Buck Ryan f65b8328d6 Merge pull request #215 from k0pernikus/docs-spacing
Docs: rm indent level in codeblock
2015-11-28 09:20:04 -05:00
Philipp Kretzschmar 7686aca6cb Docs: rm indent level in codeblock
The indent level didn't allow for copy and paste in my ~/.vimrc, as there were prefixed by 8 spaces.
2015-11-28 00:03:14 +01:00
Buck Ryan 6db5053e2f release note 2015-11-25 11:23:17 -05:00
Buck Ryan 7f02788f05 Merge pull request #198 from ceholden/conda_venv
Allow virtualenv segment to be from Anaconda
2015-11-25 11:20:59 -05:00
Buck Ryan 87b297ac23 only include the user's theme if it is not the default
fixes #121
2015-11-22 12:20:38 -05:00
Buck Ryan b66461fc8e release note 2015-11-21 19:48:16 -05:00
Buck Ryan 0122d0ff6a Merge pull request #211 from b-ryan/fix/python3-compat
fix python3 compatibility
2015-11-21 19:41:47 -05:00
Buck Ryan d781ec4985 fix unicode issue in cwd 2015-11-21 18:55:55 -05:00
Buck Ryan e28d9b37d4 fix python3 compatibility 2015-11-19 22:31:15 -05:00
Buck Ryan 1ea9b7f5ae release note 2015-11-18 22:56:34 -05:00
Buck Ryan ce81518133 Merge pull request #205 from phatblat/exit-code
Add padding to exit_code segment
2015-11-18 22:55:25 -05:00
Buck Ryan c14a274764 release note 2015-11-18 22:44:01 -05:00
Buck Ryan 31036de977 Merge pull request #209 from b-ryan/fix/cwd-max-depth
Fixes #148, #157, #158
2015-11-18 22:41:34 -05:00
Buck Ryan 337c5eff60 Fixes #148, #157, #158 2015-11-18 22:36:44 -05:00
Buck Ryan 3ecc4611ee release note 2015-11-18 21:10:54 -05:00
Buck Ryan ab5681e425 Merge pull request #208 from b-ryan/merge-andrejgl
Merge andrejgl
2015-11-18 21:08:13 -05:00
Buck Ryan 565df2435a Merge branch 'master' into merge-andrejgl
Conflicts:
	segments/git.py
2015-11-18 21:07:18 -05:00
Buck Ryan 3570c03bb8 git README note 2015-11-18 20:39:32 -05:00
Buck Ryan 4df78e8fde Merge pull request #207 from b-ryan/merge-gitsegment
Merge gitsegment
2015-11-18 20:36:16 -05:00
Buck Ryan 7227babb8c update README and refactor git.py to merge #136 2015-11-18 20:12:42 -05:00
Ben Chatelain 9610c2434a Add padding to exit_code segment 2015-11-16 21:34:36 -07:00
Buck Ryan 1ff9a43760 update README 2015-10-02 22:05:25 -04:00
Buck Ryan fdf80c1c7e Merge remote-tracking branch 'mart-e/master' for #127
I merged #127 into master and had to resolve conflicts.
In doing so, I noticed a few things. For one, #127 had an
issue where the name shortening would apply to all except
the last directory. I didn't want to repeat the same if
statement, so I sought to refactor things to make it
easier to deal with. The code as it stood was rather
repetitive and hard to read. So I factored some things
out and tried to add some descriptive comments.

Conflicts:
	segments/cwd.py
2015-10-02 22:00:11 -04:00
Martin Wetterwald 284e3bbdc5 Enhances icon for untracked files in git segment. 2015-09-24 11:43:02 +02:00
Martin Wetterwald 7bf58d1d82 Uses UTF-8 codes instead of characters in git segment
as suggested by @Anarky:
https://github.com/milkbikis/powerline-shell/pull/136#discussion_r10820795
2015-09-24 11:38:14 +02:00
Martin Wetterwald 4ae29f9a45 Merge branch 'master' into feature/gitsegment
Conflicts:
	segments/git.py
2015-09-23 16:21:46 +02:00
Chris Holden 8a28dee1bc Allow venv segment to be from Anaconda 2015-09-04 15:51:06 -04:00
Buck Ryan dc7b8a3a65 refactor get_short_path into two functions
use this to replace the home directory in the new plain mode
2015-08-26 13:17:47 -04:00
Buck Ryan 431601e0a8 add notes about today's change 2015-08-26 13:03:41 -04:00
Buck Ryan 22cbcf0b42 Merge pull request #156 from paol/cwd_plain
Add an optional 'plain' mode to the cwd segment.
2015-08-26 12:58:41 -04:00
Pedro Lopes 17627e4136 Suggested changes for pull request - not tested 2015-08-24 16:49:07 +01:00
Pedro Lopes 150788bb8c Merge remote-tracking branch 'origin/master' into cwd_plain 2015-08-22 22:33:08 +01:00
Martin Trigaux 959b7cacff [ADD] argument --cwd-max-dir-size
This allows to restrict the size of each displayed folder in the path.
This is usefull to keep a minimum space usage for longer path.
eg: for /usr/lib/python2.7/site-packages with value of 2, the displayed path
would be /us/li/py/si

Fixes #112
2015-08-19 09:12:55 +02:00
Buck Ryan 2bbe74c348 add notes about recent changes 2015-08-18 20:21:38 -04:00
Buck Ryan 763b72ef61 remove time from default segments 2015-08-18 20:09:30 -04:00
Buck Ryan 50afc6f95a Merge pull request #107 from filipebarros/master
added support for time segment
2015-08-18 19:08:43 -05:00