Commit Graph

1172 Commits

Author SHA1 Message Date
ZyX e3a27e0c8a Merge branch 'readd-zpython' into develop 2014-06-23 21:09:27 +04:00
ZyX 90afccb219 Add note about lags to troubleshooting-common.rst 2014-06-23 21:09:15 +04:00
ZyX-I a65ea01d38 Merge pull request #890 from ZyX-I/fix-zpython-bindings
Fix zpython bindings
2014-06-15 11:16:16 +04:00
ZyX 62601ad641 Fix pipestatus segment in case of zsh+zpython 2014-06-15 11:09:09 +04:00
ZyX 641b0e08a1 Junk double _POWERLINE_JOBNUM set
_POWERLINE_JOBNUM was already set in precmd, no need to do this again.
2014-06-15 11:08:25 +04:00
ZyX edbcb5a1f1 Merge branch 'new-zpython-name' into develop 2014-06-13 03:51:09 +04:00
ZyX 2c210bb649 Zpython got renamed to libzpython
Not that I wanted this: cmake cannot be told I do not want `lib` prefix. `zsh/` 
prefix in any case should have been removed: zpython is not pretending it is 
a part of zsh now. Keeping old name for those who are still using zpython branch 
(i.e. nearly everybody since zpython got moved less then an hour ago).
2014-06-13 03:49:42 +04:00
ZyX-I b145b7064f Merge pull request #888 from ZyX-I/run_cmd-unicode
Decode stdout in shell.run_cmd
2014-06-01 21:51:28 +04:00
ZyX 17d1202792 Decode stdout in shell.run_cmd
Closes #885
2014-06-01 20:00:36 +04:00
ZyX 7ac2717083 Merge branch 'fix-883' into develop 2014-05-27 05:44:08 +04:00
ZyX 7c65ee9703 Catch NotImplementedError when importing module
Fixes #883
2014-05-27 05:43:55 +04:00
ZyX-I e3bebcc5b5 Merge pull request #882 from Determinant/develop
[tmux] Make battery segment use BAT1 if BAT0 was not found
2014-05-26 20:54:37 +04:00
Teddy 8840028568 [tmux] Make battery segment use BAT1 if BAT0 was not found 2014-05-25 23:20:27 +08:00
ZyX-I 316609ffd7 Merge pull request #873 from frewsxcv/patch-1
Enable testing on Python 3.4
2014-05-12 08:28:52 +04:00
Corey Farwell 43941e4d21 Enable testing on Python 3.4 2014-05-11 20:22:48 -07:00
ZyX 9e7c6cf0be Merge branch 'ipython-in-out-same-width' into develop 2014-05-04 17:50:24 +04:00
ZyX 413edbc4f0 Add space after `In` string in ipython
Thus `In ` and `Out` have the same width
2014-05-04 17:50:00 +04:00
ZyX a7d92a65f4 Merge branch 'allow-disabling-prompt-support' into develop 2014-05-04 13:31:06 +04:00
ZyX 032a363b81 Allow disabling prompt and/or tmux support in shells
Fixes #849
2014-05-04 13:30:43 +04:00
ZyX-I 850d6c2e0a Merge pull request #871 from ZyX-I/fix-853
Add support for omitting VALUE
2014-05-04 13:07:59 +04:00
ZyX be2fe98a21 Add support for omitting VALUE
This will remove error reported in #853, but not its cause
2014-05-04 13:01:29 +04:00
ZyX 5d03fdebe1 Merge branch 'add-editorconfig' into develop 2014-05-04 12:12:39 +04:00
ZyX 34b928091a Move some settings from .local.vimrc to .editorconfig
Closes #865 as WONTFIX. It is better to have one .editorconfig then a number of 
editor-specific files.
2014-05-04 12:10:32 +04:00
ZyX-I f6cdb4467c Merge pull request #870 from austinbeam/feature/869-tmux-version-checking
tmux version checking (Issue #869)
2014-05-04 11:52:32 +04:00
Austin Beam 20d326fd45 tmux: Check version for last window indication
Last active window indication feature introduced by pull request #864
causes undesired behavior on older versions of tmux. Add version
checking to determine which method for feature implementation to use,
dropping the feature entirely for tmux versions less that v1.8. For tmux
v1.9, use the newer 'window-status-last-style' option rather than the
deprecated (starting with v1.9) 'window-status-last-fg' option. Ideally,
the other `foo-{attr,fg,bg}` options used in the `tmux` powerline config
file should also be version checked and replaced with the corresponding
`foo-style` option as well.
2014-05-03 19:29:12 -05:00
Austin Beam 478e49773b tmux: Check version for prefix active colorization
Prefix active colorization feature introduced by pull request #863
causes undesired behavior on older versions of tmux. Add version
checking and revert to old powerline configuration if the tmux version
is less than v1.8. tmux v1.8 was the first version to support the
client_prefix format variable.
2014-05-03 19:29:12 -05:00
Austin Beam 7937ab9866 tmux: Shell variable definition for tmux version
Add variables for tmux major and minor version numbers. These can
subsequently be used to test for tmux version compatibility.
2014-05-03 19:29:12 -05:00
ZyX-I 9d4100af61 Merge pull request #863 from austinbeam/feature/tmux-indicate-prefix
tmux: Change session block color if prefix pressed
2014-05-03 13:10:49 +04:00
ZyX-I 06c2f00cde Merge pull request #864 from austinbeam/feature/tmux-colorize-last-window
tmux: Colorize the last active window FG
2014-05-03 13:10:21 +04:00
ZyX-I 7e637d257b Merge pull request #867 from ZyX-I/fix-shutdown
Fix shutdown function being always None
2014-05-03 13:06:21 +04:00
ZyX d759a0a806 Undo renaming args to kwargs 2014-05-03 13:03:57 +04:00
ZyX e9852fec37 Fix shutdown function being always None
Problem reported by @IvanMalison
2014-05-03 12:44:00 +04:00
Austin Beam 59b090e836 tmux: Colorize the last active window FG
Use a feature of tmux v1.8+ to change the FG color of the last active
window to blue. This uses the foo-{attr,bg,fg} format, which is
deprecated (although still available) starting with tmux v1.9 in favor
of the corresponding foo-style variable. However, tmux v1.9 is not yet
ubiquitous enough to move to the foo-style variables. For example, the
latest Ubuntu LTS (14.04) only has tmux v1.8 available in its
repositories, so the foo-{attr,bg,fg} variables prove to be more
'compatible' for now.

For future reference, here is the modification that should be made once
tmux v1.8 is deemed old enough to drop support for (or whenever the
deprecated foo-{attr,bg,fg} variables go away in the latest version of
tmux):

-set -g window-status-last-fg colour31
+set -g window-status-last-style fg=colour31

It might be appropriate to add version checking around some of these
types of options for maximum compatibility, but my initial attempt to
explore version checking in the tmux config file got extremely messy in
a hurry.
2014-05-01 10:27:54 -05:00
Austin Beam 4d85e9a9bc tmux: Change session block color if prefix pressed
This modification to the tmux powerline binding allows the user to
easily identify when the prefix has been sent. When the prefix has
been sent, the session block changes from white to blue (matching the
color of the active window). This is accomplished using the conditional
functionality of tmux format strings and the 'client_prefix' format
variable. Unfortunately, the tmux parser fails to properly parse out
comma-separated format strings inside a format conditional, so those
have been split out into individual segments as well. Attempting to
re-combine the formats inside the conditionals will break this feature.
2014-05-01 00:34:44 -05:00
ZyX fa502281f3 Merge branch 'fix-git_directory' into HEAD 2014-04-23 06:42:46 +04:00
ZyX c603410843 Do not use .strip(), add two check git has 2014-04-23 06:36:24 +04:00
ZyX ba45a002dc Decode bytes before using os.path.join
Otherwise it will raise TypeError when trying to join str() and bytes() instance 
in python-3.3.

Fixes #654
Closes #655
2014-04-23 06:31:42 +04:00
ZyX-I c100c90b08 Merge pull request #855 from afflux/feature/fix-zsh-mode-display
fix default mode display in zsh bindings
2014-04-05 03:53:37 +04:00
Kjell Braden 96d89ae81b fix default mode in zsh bindings 2014-04-04 13:11:37 +02:00
ZyX b856fa5a82 Merge branch 'fix-no-clients-error' into develop 2014-03-28 08:57:24 +04:00
ZyX 45cc73aa8d Use “tmux refresh -S” to check for tmux presence
Reason: tmux may be launched and $TMUX set, but current shell still not under 
tmux (and most likely there are no active session). In this case `tmux refresh 
-S` may fail with “no clients” message, which is annoying.
2014-03-28 08:56:04 +04:00
ZyX f9764b9c98 Merge branch 'fix-tmux-support' into develop
Ref #672
2014-03-21 19:33:40 +04:00
ZyX 36e1854018 Fix tmux guard 2014-03-21 19:28:41 +04:00
ZyX b9a0444172 Merge branch 'more-powerline-symbols-fonts' into develop 2014-03-17 19:27:21 +04:00
ZyX e094e3c5a9 Add more Droid Sans Mono families
Fixes #830
2014-03-17 19:26:43 +04:00
ZyX-I c5692bf94f Merge pull request #841 from ZyX-I/no-pl-unicode-exceptions
Do not allow unicode-related exceptions inside logger
2014-03-15 00:33:24 +03:00
ZyX 839038d58e Also move FailedUnicode to powerline/lib/unicode 2014-03-15 01:27:10 +04:00
ZyX d8562256c1 Do not allow unicode-related exceptions inside logger
Fixes #421
2014-03-13 23:41:25 +04:00
ZyX 7965134e26 Merge branch 'fix-intro' into develop 2014-03-13 23:27:17 +04:00
ZyX 993402fe6c Do not use :redrawstatus!: it makes intro disappear
It seems that old fix for old code is no longer needed. At least I do not see 
any problems with

    vim -u NONE -S ~/.vam/powerline/powerline/bindings/vim/plugin/powerline.vim --cmd 'set ls=2'

.

Fixes #250
2014-03-13 23:27:06 +04:00