ZyX
ac9703e04c
Also check for jobnum
2014-01-17 20:54:47 +04:00
ZyX
a71c49d96b
Add tests
2014-01-17 20:51:38 +04:00
ZyX
31f85800b6
Merge branch 'kruton-develop' into develop
...
Fixes #748
2014-01-14 23:42:22 +04:00
Kenny Root
c33d56e73c
Add arg to optionally suppress user segment
...
This adds the option to common.user to suppress display if the username
matches the given string in the new "hide_user" argument.
2014-01-13 23:57:41 -08:00
ZyX
2e713269ae
Always show hostname (travis is ssh), fix jobnum in zsh
2014-01-14 00:18:34 +04:00
ZyX
0f0a5e92d3
Replace sed with python script
...
sed escaping is wrong: e.g. re.escape() will escape `+`, but with BRE escaped
plus is quantifier
2014-01-13 22:37:33 +04:00
ZyX
03245f192b
Also replace $USER with USER
2014-01-13 22:11:52 +04:00
ZyX
b16943292b
Add missing zsh.ok
2014-01-13 22:04:44 +04:00
ZyX
d1793fac61
Run apt-get with sudo and -qq like suggested in travis documentation
...
Documentation though suggests using before_install. Not sure why.
2014-01-13 21:48:09 +04:00
ZyX
b55c5da336
Also install screen
2014-01-13 19:48:12 +04:00
ZyX
d9c62d4796
Add zsh functional tests
2014-01-13 19:47:58 +04:00
ZyX
6c27506270
Move tests/test_shells/input.sh to tests/test_shells/input.bash
2014-01-13 01:07:13 +04:00
ZyX
6996896b22
Made it use screen for testing
2014-01-13 00:53:38 +04:00
ZyX
55957ec3cb
Move shell testing to tests/test_shells/test.sh
2014-01-12 23:45:17 +04:00
ZyX
bb9034adcf
Replace zyx-desktop with HOSTNAME
2014-01-11 13:52:07 +04:00
ZyX
ed99b09e86
Use get_output function
2014-01-11 13:36:02 +04:00
ZyX
301dbf2bd3
Add a few empty lines, rename bash directory to 3rd
2014-01-11 13:31:57 +04:00
ZyX
f20792bb38
Add bash functional tests
2014-01-11 13:16:25 +04:00
ZyX
73d7b0db08
Add functional tests for plugin themes
2014-01-11 11:51:58 +04:00
Kenny Root
54e7fe91ba
Fix common.user test
...
The username was being cached from previous tests, so clear it before
running this test.
2014-01-10 14:15:54 -08:00
ZyX
4f80468645
Fix tests broken due to jobnum introduction
2014-01-10 23:17:06 +04:00
ZyX-I
47fdff946c
Merge pull request #715 from ZyX-I/no-run_once-watches
...
Reduce number of inotify watches
2014-01-10 09:23:36 -08:00
ZyX
bb0d9028f1
Make sure watcher is not used
2013-11-21 00:23:25 +04:00
ZyX
95d13a334a
Test that nothing is reloaded with run_once=True
2013-11-21 00:18:34 +04:00
ZyX
2ef0d4412d
Add jobnum segment
...
Replaces #596 . Differences:
- Tests and metavar.
- Uses “jobnum” name in place of “jobs”.
- Does not use subshell for zsh. Also counts jobs correctly in zsh.
- Adds an option to force showing jobnum segment even if there are no jobs.
2013-11-19 01:01:49 +04:00
Kim Silkebækken
74d4ee9669
Update tests
...
Unit tests are not run on external segments. When external segments are
moved out of the core repo the extra test code won't be needed.
2013-08-20 16:48:54 +02:00
Kim Silkebækken
ab6140136d
Add visual_range segment
...
Returns a value similar to `showcmd`.
TODO: Make proper test case.
2013-08-06 10:57:04 +02:00
Kim Silkebækken
225ac48cfc
Merge remote-tracking branch 'tmurph/feature/504-battery-segment' into develop
...
Conflicts:
powerline/config_files/colorschemes/tmux/default.json
2013-07-31 15:28:54 +02:00
Trevor Murphy
24cda1d947
Add a battery info segment.
...
Default colors range from red (full battery) to white (no battery) but can be changed via the
`battery' and `battery_gradient' settings.
Default presentation is a formatted percentage string (with keyword `batt'). The `gamify' setting
changes this to a sequence of video game hearts.
Number of steps from 100% to 0% / number of video game heart icons is controlled by the `steps'
setting (default 5).
2013-07-13 22:44:38 -04:00
Kim Silkebækken
c1ae7f3598
Merge remote-tracking branch 'zyx-i/fix-516' into develop
2013-06-28 14:26:33 +02:00
Jack Zhou
72b082a510
Change [DETACHED HEAD] message to a short hash of the detached head.
2013-06-28 13:49:45 +02:00
ZyX
987376aecb
Fix tests
2013-06-22 19:14:07 +04:00
ZyX
9080a34ee8
Fix problems with merging vim.Dictionary
...
Also add tests
Fixes #516
2013-05-23 18:36:51 +04:00
ZyX
795b9874ba
Add missing import
...
Also add tests
Fixes #511
2013-05-22 00:22:01 +04:00
Kim Silkebækken
1581d9be9b
Merge remote-tracking branch 'jacobwalker0814/feature/477-environment-segment' into develop
2013-05-21 10:12:50 +02:00
ZyX
962a1b6fc2
Fix tests
2013-05-19 13:17:59 +04:00
ZyX
dfaf8c3b3a
Fix messages
2013-05-19 13:17:58 +04:00
ZyX
f10729f637
Add some new features to tests/vim.py
2013-05-19 13:17:58 +04:00
ZyX
ebd122d4ac
Unfinished attempt to adapt tests to new code
2013-05-19 13:17:58 +04:00
ZyX
ee48836f7c
Always return true in install.sh
2013-05-06 19:13:00 +04:00
Kim Silkebækken
4d5d92dda2
Merge remote-tracking branch 'zyx-i/powerline-daemon' into develop
2013-05-06 15:37:44 +02:00
Kovid Goyal
7b495aff0c
Fix tests failing if inotify not available
2013-05-03 10:34:50 +05:30
Jacob Walker
ed65d34e1a
Segment to Print Environment Variables
...
- Added segment function to powerline.segments.common.
- Added test to check return values.
- Added default colorschemes for everything but iPython.
Ref #477
2013-05-02 09:35:13 -05:00
ZyX
467bc53589
Also fix bash tests
2013-05-02 16:01:44 +04:00
ZyX
b78a8cea14
Fix tmux tests
2013-05-02 15:47:05 +04:00
Kovid Goyal
ad55daf9c3
Make vcs segments *much* faster
...
Do not call vcs status unless the relevant files have changed.
Uses inotify, if available, otherwise falls back to stat() based
monitoring. Fixes #396
2013-05-02 11:13:54 +05:30
Kim Silkebækken
02eee6f54e
Merge remote-tracking branch 'zyx-i/virtcol-current-gradient' into develop
...
Conflicts:
tests/vim.py
2013-04-20 16:57:37 +02:00
ZyX
bd0546d688
Add virtcol_current textwidth-based gradient
2013-04-13 19:37:43 +04:00
ZyX
cce79fda0e
Add support for getbufvar('%') and &textwidth option to vim emulation
2013-04-13 19:37:23 +04:00
ZyX
2d036c0de8
Fix indentation of dictionaries
2013-04-13 19:35:25 +04:00