Commit graph

4583 commits

Author SHA1 Message Date
Marc Cornellà
4fbfb149d3 Add back the - alias to go to the previous directory
The alias was removed in #3564. A couple of users were using
it, so I'm adding it back.
2015-12-13 20:36:31 +01:00
Kaelig
b6997f6972 Update link to git completion 2015-12-11 15:36:55 -08:00
Marc Cornellà
5e950d4fa0 Merge pull request #4689 from apjanke/fix-non-numeric-versions
common-aliases: handle "dev" versions in version check
2015-12-11 22:02:50 +01:00
Marc Cornellà
45e42efa45 Merge pull request #4657 from hghwng/master
Recognize Firefox addon and Android packages.
2015-12-11 14:13:30 +01:00
Marc Cornellà
07fcbbe74c Merge pull request #4641 from WeeBull/patch-1
Use actual `commit --amend` command for Mercurial
2015-12-11 13:58:33 +01:00
Andrew Janke
c52f67746b common-aliases: handle "dev" versions in version check
Uses `is-at-least` instead of a numeric comparison hack, so versions with non-numeric bits like "4.5.0-dev5" don't throw errors.
2015-12-11 03:03:38 -05:00
Marc Cornellà
0cca3c0deb Merge pull request #4687 from gmccue/web-search-ecosia
Add Ecosia to web-search plugin.
2015-12-11 00:10:55 +01:00
Gregory McCue
fb5effd5d8 Add Ecosia to web-search plugin. 2015-12-10 22:58:53 +01:00
Sebastian Gniazdowski
357d57c541 znt: include some status information on top of the window 2015-12-07 14:15:09 +01:00
Bilal Amarni
0d45e771c8 [Composer] redirect stderr to /dev/null for completion commands 2015-12-06 13:56:10 +01:00
Marc Cornellà
ee343814b7 Use $HOME instead of tilde inside quotes
The tilde character is not expanded when inside quotes. See https://github.com/robbyrussell/oh-my-zsh/issues/4668#issuecomment-162213379
2015-12-05 18:49:26 +01:00
Marc Cornellà
3841115f54 Merge pull request #4654 from mcornella/termsupport-cleanup
Make code in lib/termsupport.zsh more readable
2015-12-05 13:49:52 +01:00
Sebastian Gniazdowski
c793baeadd znt: optimize heap usage for older Zsh's (e.g. 5.0.8) 2015-12-04 19:51:09 +01:00
Danyil Bohdan
2e3731c5b1 "fishy" theme: Shorten path .foo to .f, not .
When the current path is /home/user/.config/doublecmd the prompt
now reads "/h/u/.c/doublecmd", not "/h/u/./doublecmd" as was the
case. This matches what the Fish shell does.

Enclose the Perl snippet in single quotes instead of double quotes.
2015-12-04 20:19:15 +02:00
Sebastian Gniazdowski
89205f90e5 znt: faster startup of tools using colorifying (e.g. n-history) 2015-12-03 11:07:35 +01:00
Hugh Wang
a42a3eead7 Recognize Firefox addon and Android packages. 2015-12-02 12:05:05 +08:00
Marc Cornellà
c82f49e734 Merge pull request #4652 from psprint/master
znt: updated README.md, twice as fast searching
2015-12-02 01:33:23 +01:00
Marc Cornellà
4e306887c2 Cleanup update_terminalapp_cwd function 2015-12-01 14:05:38 +01:00
Marc Cornellà
eca912e51a Quote all variables in if statements 2015-12-01 14:05:18 +01:00
Marc Cornellà
103eb32721 Use a case structure to id terminal types 2015-12-01 14:04:12 +01:00
Marc Cornellà
00344f7628 Merge branch 'ferenczy-cygwin'
Close #2739
2015-12-01 13:53:48 +01:00
Dawid Ferenczy
63d7500cf1 Added setting of the window title in Cygwin 2015-12-01 13:52:52 +01:00
Marc Cornellà
b457ae2501 Merge pull request #4651 from ionelmc/patch-1
Add support for "putty" $TERM in termsupport.zsh
2015-12-01 00:05:17 +01:00
Marc Cornellà
f7ed7244c2 Merge pull request #3321 from moul/pr-tmux-cssh
[tmux-cssh plugin] Initial version
2015-12-01 00:04:12 +01:00
Ionel Cristian Mărieș
d55111f200 Support all kinds of putty-like terminal strings. 2015-12-01 00:59:35 +02:00
Marc Cornellà
78af29e5ed Merge branch 'marking-master'
Fixes #4597
2015-11-30 21:43:36 +01:00
Marc Cornellà
584e0a6ef9 Use shwordsplit in open_command() 2015-11-30 21:27:58 +01:00
Marc Cornellà
afdfe2391e Add empty string parameter to start command
Otherwise `start` will confuse the first parameter as the title of
a new command prompt if the parameter contains whitespace. That is
because the command to be run will be:

    start "abc def"

which opens a new command prompt window with the title "abc def".
With the added empty string we force the start command to interpret
the passed parameter as the file / command:

    start "" "abc def"

which will be interpreted like `""` is the title and the rest is
the file or command to start.

-------

**NOTE:** this wouldn't be necessary if the start script in msys
was defined differently; that is, if it had the empty string
already incorporated in the script (/usr/bin/start), like so:

```diff
-cmd //c start "${@//&/^&}"
+cmd //c start "" "${@//&/^&}"
```

Notice however that this would make it impossible to use start
setting a different title, so it's probably best to leave it as is.

More info: http://sourceforge.net/p/msys2/tickets/14/

-------

The change `${(z)open_cmd}` is necessary to force zsh to split the
variable by the spaces and interpret it as separate words.

More info: http://zsh.sourceforge.net/FAQ/zshfaq03.html#l17
2015-11-30 21:21:28 +01:00
Mark Ingalls
0a79f1e836 make this work in the git-for-windows SDK
Added an option for the msys value of $OSTYPE
2015-11-30 21:01:15 +01:00
Sebastian Gniazdowski
d427ac1ef9 znt: twice as fast searching 2015-11-30 19:22:34 +01:00
Sebastian Gniazdowski
ae84be7e31 znt: updated README.md 2015-11-30 18:30:05 +01:00
Marc Cornellà
a19ec1040e Merge pull request #4649 from psprint/master
znt: n-history supports multi-line cmds and starts with current buffer
Fixes #4648
2015-11-30 18:11:11 +01:00
Sebastian Gniazdowski
39e4dfb6a6 Updated README.md 2015-11-30 18:05:55 +01:00
Sebastian Gniazdowski
c8852902a9 Renamed README.txt to README.md 2015-11-30 15:05:49 +01:00
Ionel Cristian Mărieș
711c1bcb40 Add support for "putty" $TERM in termsupport.zsh 2015-11-30 15:16:47 +02:00
Sebastian Gniazdowski
c2b4d9ff40 znt: n-history supports multi-line cmds and starts with current buffer 2015-11-30 10:48:30 +01:00
Marc Cornellà
afd28bf1fc Merge pull request #4368 from psprint/master
Update Zsh Navigation Tools plugin
2015-11-30 09:50:37 +01:00
Marc Cornellà
fea74b4b34 Fix open_command nohup call
There a syntax error if $cmd_var contains more than one word,
so we drop the current way to prepend nohup and use a simpler
if-else form.
2015-11-29 19:34:10 +01:00
Marc Cornellà
ef031dfe8f Merge pull request #4207 from mpscholten/master
Also accept any forms of yes as an answer to the "do you want to update?" prompt
2015-11-29 14:34:14 +01:00
Marc Cornellà
46824b39a3 Merge pull request #4191 from apjanke/vi-mode-fix-smkx
vi-mode: fix smkx/rmkx by removing broken line-init/finish widgets
2015-11-29 14:31:35 +01:00
Marc Cornellà
d3b9520501 Merge branch 'apjanke-z-allow-custom'
Closes #4578
2015-11-27 17:12:45 +01:00
Andrew Janke
2205aa42aa z plugin: fix loading from custom location
The old implementation would attempt to load both the default and custom
implementations, with the custom one coming first, so it would get clobbered
by the default version.
2015-11-27 17:12:09 +01:00
Marc Cornellà
85d949550b Merge pull request #4181 from posva/z
Update z version to 5dc2a86
2015-11-27 17:09:05 +01:00
Marc Cornellà
96108e1130 Merge branch 'apjanke-histsubstr-update-2015_04_26' 2015-11-27 16:59:41 +01:00
Andrew Janke
7e398391db history-substring-search: update to upstream version 2015-09-28
Updates OMZ's copy to commit 2c295432175990c1bb4e90bc13f609daa67a25d6 from zsh-users/zsh-history-substring-search
2015-11-27 16:59:06 +01:00
Andrew Janke
d7e6ba0b66 history-substring-search: add a script to automatically update OMZ from the upstream repo 2015-11-27 16:59:06 +01:00
Marc Cornellà
befb5b66c5 Merge pull request #4634 from mfaerevaag/master
[wd] update minor version (v0.4.2)
2015-11-27 16:51:05 +01:00
Marc Cornellà
424800e881 Merge pull request #4539 from Gnouc/master
Update uninstall.sh
2015-11-27 16:08:32 +01:00
Marc Cornellà
90e1630163 Merge pull request #4443 from apjanke/github-update
Update github plugin to work with current hub versions
2015-11-27 16:07:00 +01:00
Marc Cornellà
dfe10af9fa Merge branch 'apjanke-termsupport-protect-subshell'
Fixes #4565
2015-11-27 15:59:59 +01:00