ZyX
9fcfd54d90
Disable fish tests on travis
2014-01-23 18:33:33 +04:00
ZyX
b37940235c
Also print shell version string
2014-01-23 16:41:29 +04:00
ZyX
d75f47a0c7
Use `.` for sourcing in fish
...
It appears that travis uses fish version without this command. Though `.` is
deprecated on new versions it is still supported for backwards compatibility,
thus may be used here.
2014-01-23 16:32:18 +04:00
ZyX
8b341c622e
Make XDG_CONFIG_HOME point to writeable location
2014-01-23 16:14:32 +04:00
ZyX
12aa69a0c2
Also output full.log
...
Hope it will give some hints about why fish tests fail on travis
2014-01-23 15:58:52 +04:00
ZyX
6004403947
Another attempt to fix fish on travis
2014-01-23 07:45:35 +04:00
ZyX
2f98276ee0
Make postproc.py only leave fish prompt
...
Should fix fish tests
2014-01-23 07:36:54 +04:00
ZyX
166f827c9f
Improve test_shells/test.sh:
...
- Add argument that makes it run only one shell
- Make this argument also force skipping removal of tests/shell directory
- Make it copy logs to tests/shell before and after processing
2014-01-23 07:36:08 +04:00
ZyX
11f86e77b0
Add fish tests
2014-01-22 08:33:43 +04:00
ZyX
461c4f4d51
Add support for number of jobs to fish bindings
2014-01-19 17:51:48 +04:00
ZyX
972bd45c21
Make fish bindings feature complete, add documentation
...
Added features:
- Updating TMUX_PWD_* when PWD variable changes
- Updating TMUX_COLUMNS_* when WINCH signal is received
2014-01-19 17:45:52 +04:00
ZyX
38f24852eb
Add powerline/bindings/fish/powerline.fish
2014-01-19 17:45:17 +04:00
ZyX-I
5c700b8bbe
Merge pull request #754 from ZyX-I/improve-bash-bindings
...
Improve bash bindings
2014-01-19 05:31:49 -08:00
ZyX
a590e100a2
Fix functional shell tests in travis
...
Hostname in travis contains random numbers meaning that it occasionally may
contain a PID as well. Thus it must be replaced first.
2014-01-19 17:26:31 +04:00
ZyX
49d8376845
Document problem found when exploring #749
2014-01-19 16:27:12 +04:00
ZyX
c6324afbc5
Replace `jobs` with `jobs -p`
...
If some long shell code is run in the background it may be shown as more then
one job:
bash-4.2$ {
> echo abc | while read line ; do
> sleep 1s
> sleep 1s
> done
> } &
[1] 9401
bash-4.2$ jobs
[1]+ Running { echo abc | while read line; do
sleep 1s; sleep 1s;
done; } &
`jobs -p` print exactly one job in this case.
2014-01-19 16:19:23 +04:00
ZyX
1a841a4ac8
Replace POWERLINE_OLD_PROMPT_COMMAND with the code used by [z][1]
...
Does not fix anything, but is three lines less and is probably the way other
tools expect us to do.
[1]: https://github.com/rupa/z
2014-01-19 16:15:40 +04:00
Kim Silkebækken
8af99819bc
Merge branch 'remove-fontpatcher' into develop
2014-01-19 11:57:27 +01:00
Kim Silkebækken
43e199b4a7
Remove fontpatcher and symbol font
...
The package has been moved to
https://github.com/Lokaltog/powerline-fontpatcher
2014-01-19 11:56:50 +01:00
Kim Silkebækken
4a0b7e2950
Merge branch 'remove-packages' into develop
2014-01-19 11:20:23 +01:00
Kim Silkebækken
9de9bc7907
Remove archlinux packages
2014-01-19 11:20:15 +01:00
ZyX-I
7cf3171a45
Merge pull request #753 from ZyX-I/fix-functional-tests-diff-2
...
Try to workaround problems with last line in travis
2014-01-17 14:13:49 -08:00
ZyX
2b171cff67
Try to workaround problems with last line in travis
2014-01-18 01:59:19 +04:00
ZyX-I
2a525ae4f8
Merge pull request #667 from kovidgoyal/fix-git-branch-name
...
Fix git branch name sometimes getting stuck with inotify
2014-01-17 10:20:25 -08:00
ZyX-I
5c7e8040e6
Merge pull request #707 from wsnyders/develop
...
Update dependanceies for Arch packages.
2014-01-17 09:55:05 -08:00
ZyX
1dbdc6728d
Merge branch 'fix-functional-tests-diff' into develop
2014-01-17 21:34:57 +04:00
ZyX
56ef798218
On travis there are differences in CRs for some reason
...
This commit strips CRs from *.ok files and test output. Test failure used to be
not recognized due to pipe: `cat -v` always succeeds meaning that `if ! diff
… | cat -v` always succeeds too.
2014-01-17 21:34:18 +04:00
ZyX-I
0c0b4282fe
Merge pull request #708 from ZyX-I/fix-finish_args-typo
...
Fix finish args typo
2014-01-17 09:16:40 -08:00
ZyX-I
b531ffa2b3
Merge pull request #751 from mrrcollins/rc
...
A lowercase f for the unit caused the weather segment to silently fail. ...
2014-01-17 08:56:20 -08:00
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
Ryan Collins
40fe3cf938
A lowercase f for the unit caused the weather segment to silently fail. Putting in a capital F works correctly
2014-01-17 00:15:37 -05:00
ZyX
31f85800b6
Merge branch 'kruton-develop' into develop
...
Fixes #748
2014-01-14 23:42:22 +04:00
ZyX
aa3e86b9d9
Rewrite documentation string
2014-01-14 23:38:34 +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-I
057ff37c30
Merge pull request #747 from ZyX-I/more-functional-tests
...
More functional tests
2014-01-13 12:32:11 -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