Andrew Janke
8a95a6a868
For unspecified encodings, assume it's UTF-8 or compatible (e.g. ASCII) and muddle through without character encoding conversion.
2015-02-17 00:54:54 -05:00
Andrew Janke
801bb8852f
Add support for non-UTF-8 encodings in caller's locale.
2015-02-17 00:49:53 -05:00
Andrew Janke
d20a670fff
In termsupport, use LC_CTYPE instead of LANG to enable byte-by-byte text processing. LANG doesn't seem to actually work.
2015-02-14 20:30:03 -05:00
Andrew Janke
c3d1b4097d
Remove terminalapp plugin and fold its implementation in to lib/termsupport.zsh. Replaces the redundant Terminal.app support that was recently added to termsupport.
2015-02-14 19:05:27 -05:00
Robby Russell
a0c94fada7
Merge pull request #3572 from mcornella/fix-apple_terminal-newtab-again
...
Extract CWD notifier back out of auto-title hooks
2015-02-13 07:17:17 -08:00
Marc Cornellà
9bb3886377
Extract CWD notifier back out of auto-title hooks
2015-02-13 15:57:18 +01:00
Robby Russell
0a4b5a1190
Merge pull request #3568 from mcornella/apjanke-title-disable-check
...
Repost #3426 : move DISABLE_AUTO_TITLE check to hooks
2015-02-10 11:49:56 -08:00
Robby Russell
587aeb4aca
Merge pull request #3567 from mcornella/bsandrow-topic/virtualenvwrapper-ubuntu
...
Repost #2819 : fix virtualenvwrapper for Ubuntu and Debian
2015-02-10 11:49:42 -08:00
Robby Russell
7158b7d164
Merge pull request #3563 from mcornella/fix-unicode-locale
...
Fix Unicode problems by only setting LC_CTYPE if not set
2015-02-10 11:49:23 -08:00
Marc Cornellà
21bfda38e8
Temporarily delete over-engineered solution
2015-02-10 20:38:06 +01:00
frozen_dude
d6e9cb5d39
Fix for bad LC_CTYPE entry
...
LANG is a colon-separated list of prefered locales; LC_CTYPE is single entry,
therefore we need to remove all but one entry.
Also, there is no need setting it if it is already set (LC_ALL also sets
LC_CTYPE, so we check it too).
2015-02-10 20:37:35 +01:00
Marc Cornellà
24ac85b79e
Simplify adding workon_cwd to chpwd hook
2015-02-10 20:32:52 +01:00
Marc Cornellà
d55104c5cd
Organize error checking in virtualenwrapper plugin
2015-02-10 20:32:52 +01:00
Brandon Sandrowicz
4ff989676d
Fixing virtualenvwrapper plugin for Ubuntu (and Debian)
...
Ubuntu and Debian store the system-installed virtualenvwrapper in
/etc/bash_completion.d/virtualenvwrapper, so that it gets automatically sourced
at startup in Bash. By not putting it somewhere in $PATH, they end up excluding
others (e.g. Zsh) that might want to use that file. Oops!
The virtualenvwrapper plugin should account for this so that Ubuntu (or Debian)
users don't end up with this message:
zsh virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh. Please install with `pip install virtualenvwrapper`.
even when they have a virtualenvwrapper installed to a known location.
2015-02-10 20:32:52 +01:00
Robby Russell
70db8f13ca
Merge pull request #3467 from mcornella/fix-composer-plugin
...
[Plugin composer] Multiple fixes
2015-02-10 11:22:40 -08:00
Robby Russell
5f376a9321
Merge pull request #3443 from mcornella/better-web-search-plugin
...
Refactor and improve web-search plugin
2015-02-10 11:22:25 -08:00
Robby Russell
66c13c57e5
Merge pull request #3566 from mcornella/pfault-master
...
Repost #2606 : fix git status in rkj-repos theme
2015-02-10 11:21:45 -08:00
Robby Russell
e0ab0d3579
Merge pull request #3483 from ai/fedora-not-found
...
Add Fedora support for command-not-found plugin
2015-02-10 11:21:36 -08:00
Robby Russell
339b2749ef
Merge pull request #3353 from mizabrik/master
...
Save ZSH path in newly created .zshrc
2015-02-10 11:21:15 -08:00
Robby Russell
eb94ae8f2a
Merge pull request #3143 from roramirez/theme-linux
...
remove path not found for linuxonly theme
2015-02-10 11:21:12 -08:00
Robby Russell
e4540514ea
Merge pull request #3479 from faceleg/patch-1
...
Removing 'local' usage to prevent issue when installed with antigen
2015-02-10 11:20:52 -08:00
Robby Russell
43655893ad
Merge pull request #3547 from martong/vi_mode_trapwinch
...
Added trapwinch to vi-mode plugin.
2015-02-10 11:20:42 -08:00
Robby Russell
ab33606693
Merge pull request #3413 from mcornella/fix-dircycle-plugin
...
dircycle plugin: clean and fix logic once and for all
2015-02-10 11:20:08 -08:00
Robby Russell
93610debff
Merge pull request #3141 from muggenhor/sudo-maintain-cursor-pos
...
sudo: maintain cursor position
2015-02-10 11:18:32 -08:00
Robby Russell
6bcfdc9dc4
Merge pull request #3564 from mcornella/LFDM-cleaning_lib
...
Repost #2422 : cleaning lib
2015-02-10 11:17:17 -08:00
Marc Cornellà
ec0cae6947
Use quoted $TERM value everywhere
2015-02-10 19:53:40 +01:00
Marc Cornellà
8c8fa93f70
Quick-fix code style
2015-02-10 19:52:58 +01:00
Andrew Janke
2b7115f32f
term: Move DISABLE_AUTO_TITLE check to hooks
...
Move the DISABLE_AUTO_TITLE check from title() to the preX hook
functions that call it, to allow the title() function to be used
directly by user or other callers.
2015-02-10 19:38:11 +01:00
Martin Schrodi
a6294d4271
rkj-repos: code cleanup and updated with functions from lib/git.zsh (thx mcornella)
2015-02-10 19:35:00 +01:00
Martin Schrodi
dd6dc6304e
Fixed breakage in new git repo without commits
2015-02-10 19:35:00 +01:00
Marc Cornellà
7c41728d73
Remove composer.json file requirement
...
This is because we can't be sure which arguments require a json file
and which don't, so the `else' statement will always be difficult to
check for correctness.
2015-02-10 19:32:59 +01:00
Maxime Fabre
af49c0dfbb
Add aliases for composer global
2015-02-10 19:32:59 +01:00
Andrey Janzen
507ea6f9ad
Allow completion for 'composer.phar', not only 'composer'
...
Use $_comp_command1 for command list generation instead of 'composer':
`$_comp_command1` contains the command written in the command line.
This allows us to have a different composer name
2015-02-10 19:32:59 +01:00
Julien Pepy
77da498a0f
Fix get command list for recent composer versions
2015-02-10 19:32:59 +01:00
Marc Cornellà
cdf11adde9
Force using https in Yandex search engine
2015-02-10 19:32:52 +01:00
Marc Cornellà
0dd30194f3
Fix yahoo search URL in web-search plugin
2015-02-10 19:32:52 +01:00
Marc Cornellà
f26a085337
Add support for cygwin open in web-search plugin
2015-02-10 19:32:52 +01:00
Marc Cornellà
5fc31b4256
Silence nohup output in web-search plugin
2015-02-10 19:32:52 +01:00
Marc Cornellà
5f5ef8a67b
Add Yandex support to web-search plugin
2015-02-10 19:32:52 +01:00
Marc Cornellà
613689316a
Clean up web-search plugin logic to allow easier changes
2015-02-10 19:32:52 +01:00
Marc Cornellà
a4b60cb797
Clean up appearance lib file and redundant colors calls in other files
2015-02-10 19:22:50 +01:00
Marc Cornellà
5bf216792e
Implement deletion of sl alias as per #3055
2015-02-10 19:22:39 +01:00
LFDM
1d449060ff
Fix a typo
2015-02-10 19:22:39 +01:00
LFDM
5523ebb9ae
Deletes dot aliases from common-aliases.
...
They are implemented in lib anyway.
2015-02-10 19:22:39 +01:00
LFDM
1447dff588
Moves a bindkey call from misc to key-bindings.
2015-02-10 19:22:39 +01:00
LFDM
f5d0e0e48e
Moves remaining aliases to misc and deletes file.
...
There were only three aliases left in aliases.zsh
File deleted!
2015-02-10 19:22:39 +01:00
LFDM
4322079130
Refactors history alias and moves it.
...
More compact case statement instead of the ugly if elif... else
statement. Moves it to history.zsh
2015-02-10 19:22:39 +01:00
LFDM
a3914e2bed
Pushes autoenv code to its plugin.
...
Sources the activate.sh file or informs the user, that its not
available.
Overriding the cd function, as it was formerly done, is not needed
anymore, activate.sh does this by itself.
2015-02-10 19:22:38 +01:00
LFDM
4e48edc26a
Brings all directory stuff to directories.zsh
...
- Cleans out aliases.zsh.
- Removes unneeded cd function.
2015-02-10 19:22:38 +01:00
Marc Cornellà
1c5fd6d7b6
Account for iTerm2 sent keys in dircycle plugin
2015-02-10 19:18:15 +01:00