Commit Graph
100 Commits
Author SHA1 Message Date
Marc Cornellà 6ad6d114dc Merge pull request #4700 from giordanovi/master
Update gulp.plugin.zsh
2015-12-15 12:17:46 +01:00
Marc Cornellà 4b95c166bd Merge branch 'fix-colored-man-pages-syntax' 2015-12-15 11:56:27 +01:00
Marc Cornellà 5e310c5308 Fix syntax error in colored-man-pages
Commit 09d2a597a5 introduced the bug, which is due to using
single brackets conditions at the same time as *.

This commit should fix it and use double brackets everywhere
else.

Fixes #4699
2015-12-15 11:56:16 +01:00
Marc Cornellà fe9ff63ced Merge pull request #4463 from giordanovi/master
Fetch Gulp tasks list in a better way
2015-12-15 11:44:59 +01:00
Marc Cornellà cb11d139b4 Merge pull request #4697 from psprint/master
znt: more optimizing workarounds for 5.0.6 <= zsh < 5.2
2015-12-15 11:03:14 +01:00
Marc Cornellà 5de1704a0a Merge branch 'cknoblauch-patch-1'
Close #4469
2015-12-15 04:12:01 +01:00
Marc Cornellà 09d2a597a5 Fix style of colored-man-pages plugin 2015-12-15 04:11:40 +01:00
Marc Cornellà dd299542c9 Merge branch 'hallabro-consistent-wording-update'
Close #4103
2015-12-15 03:47:18 +01:00
Marc Cornellà ef31d06426 Merge pull request #4139 from ultimatemonty/patch-1
Nicer formatting of ember aliases in README
2015-12-15 03:37:44 +01:00
Marc Cornellà 8a3b78e011 Merge pull request #4536 from alexws54tk/patch-1
Update frontcube.zsh-theme
2015-12-15 03:26:19 +01:00
Marc Cornellà e344f4c066 Merge pull request #4420 from apjanke/git-move-current_branch-to-core
Git: move current_branch() to core
2015-12-15 02:34:59 +01:00
Marc Cornellà bfd2d8de24 Merge pull request #4498 from gfvcastro/alias-rake-stats
Add 'rake stats' alias.
2015-12-15 02:21:51 +01:00
Marc Cornellà 8d6fccef81 Merge pull request #4589 from apjanke/agnoster-powerline-char-stronger-warning
agnoster theme: stronger warning about changing SEGMENT_SEPARATOR character
2015-12-15 02:08:45 +01:00
Marc Cornellà 93c00cced5 Merge pull request #4451 from victor-torres/branch-plugin
Add branch plugin
2015-12-15 01:02:49 +01:00
Marc Cornellà d988ee01c2 Merge pull request #4568 from blueyed/archlinux-improve-commands-lookup
archlinux: use $+commands instead of 'command -v' in a subshell
2015-12-15 01:01:47 +01:00
Marc Cornellà 531789e4fa Merge pull request #4628 from moyamo/master
Default to using terminfo to set the terminal title
2015-12-14 13:02:31 +01:00
Marc Cornellà bd384a060b Merge pull request #4667 from dbohdan/patch-1
"fishy" theme: Shorten path .foo to .f, not .
2015-12-14 12:46:14 +01:00
Marc Cornellà 6a8692da7c Merge pull request #4676 from bamarni/composer-stderr
[Composer] redirect stderr to /dev/null for completion commands
2015-12-14 11:25:43 +01:00
Marc Cornellà 4108c4895f Merge pull request #4690 from kaelig/patch-1
Update link to git completion
2015-12-14 02:21:32 +01:00
Marc Cornellà f5641594a9 Merge branch 'GNUletik-master'
Close #3627
2015-12-14 01:09:14 +01:00
Marc Cornellà 273063ad59 Merge pull request #4663 from psprint/master
znt: faster startup of tools using colorifying (e.g. n-history), optimized heap usage for older Zsh's
2015-12-14 00:41:40 +01:00
Marc Cornellà d54d896346 Merge pull request #3966 from apjanke/fix-spectrum-ls
Make spectrum_ls implementation consistent with $FG and spectrum_bls
2015-12-13 21:39:13 +01:00
Marc Cornellà 4d154abaa9 Merge branch 'apjanke-histsubstr-double-bind'
Close #4193
2015-12-13 21:34:17 +01:00
Marc Cornellà 11de60fde9 Merge pull request #3965 from apjanke/spectrum-hide-codes
Hide spectrum.zsh var values to avoid junky output to terminal
2015-12-13 21:28:44 +01:00
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
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
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
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
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
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
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
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
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
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
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
Marc Cornellà d2e1c71bfb Merge pull request #4534 from mcornella/fix-open_command-nohup-tmux
Drop the use of nohup on OSX for tmux compatibility
2015-11-27 15:50:48 +01:00
Marc Cornellà ebfba0e539 Drop the use of nohup on OSX for tmux compatibility
Apparently `nohup` is not needed in OSX, and using it has the side
that it may break under tmux with the error

  nohup: can't detach from console: No such file or directory

For now, this commit only drops the use of `nohup` in OSX. But it
*may* not be necessary under other similar platforms.
2015-11-27 15:40:31 +01:00
Marc Cornellà 22632aac7c Merge pull request #3859 from gnagy/master
gradle plugin: also list tasks in subprojects
Cleanup gradle plugin file
2015-11-21 03:24:53 +01:00
Marc Cornellà 249d2229d4 Cleanup gradle plugin file
- Delete useless #!zsh
- Simplify gradle build file check
- Format comments and delete TODO stuff (already dealt with)
- Use `$()` syntax for cat commands
2015-11-21 03:16:34 +01:00
Marc Cornellà 64e1252bd5 Merge pull request #4623 from apjanke/dircycle-remove-redundant-bindings
dircycle: remove redundant key bindings
2015-11-20 18:08:11 +01:00
Marc Cornellà 5d8fd93cac Merge pull request #4617 from ahmadawais/patch-1
Removed Similar Aliases
2015-11-20 18:07:55 +01:00
Marc Cornellà 7627004a2f Merge pull request #4612 from stereodenis/patch-1
bundle outdated alias
2015-11-20 18:05:21 +01:00
Marc Cornellà 5289edcee5 Merge pull request #4592 from jstnlef/fix-weird-unstaged-behavior
Fixing strange git unstaged prompt behavior
2015-11-20 16:42:42 +01:00
Marc Cornellà c120417336 Merge pull request #4619 from apjanke/mercurial-readme-tweak
Mercurial plugin: revise README
2015-11-20 16:40:47 +01:00
Marc Cornellà e44aa50301 Merge pull request #4535 from robbyrussell/mcornella-patch-1
[README] Update custom directory command and fix code blocks
2015-10-21 17:45:44 +02:00
Marc Cornellà e9de366ea7 Update custom location command and fix code format 2015-10-21 17:39:13 +02:00
Marc Cornellà ba20b9861e Merge pull request #4016 from coopermaruyama/master
Fix typo.

Close #4016
2015-10-21 17:09:26 +02:00
Marc Cornellà 405ee83af4 Merge pull request #4500 from sachin21/modify_a_condition
[FIX ERROR] Refactor for function in plugins/rake-fast/rake-fast.plugin.zsh
2015-10-21 16:52:32 +02:00
Marc Cornellà d06f4d0893 Fix backwards logic in uninstaller once and for all
Really this time :P

Fixes #4533
2015-10-21 16:46:38 +02:00
Marc Cornellà 4e42e1f7e1 Fix conditional in uninstall prompt 2015-10-21 11:28:12 +02:00
Marc Cornellà b2010a0ae6 Fix syntax error in confirmation prompt of uninstall.sh
We need to use POSIX syntax. This file is no longer executed with zsh.

Fixes #4483.
2015-10-21 11:24:12 +02:00
Marc Cornellà ca5632bce1 Fix syntax error in #4515 on certain shells
Drops the `function` keyword and uses only `func(){}` syntax as per the
POSIX specification:

http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_05

Related: #4531
2015-10-21 10:48:02 +02:00
Marc Cornellà 78dc858396 Revert "Make install script safer"
This reverts commit c9d93757e8, which
makes it fail with a syntax error:

  sh: 1: Syntax error: "(" unexpected
2015-10-21 10:36:40 +02:00
Marc Cornellà 8c84342b20 Merge pull request #4519 from evanandrewrose/master
Fix "be" -> "b" typo in coffee plugin README.md.
2015-10-20 23:43:33 +02:00
Marc Cornellà fdb0e239d4 Merge pull request #4507 from WhyEee/fix-no-tput
Fix install.sh/upgrade.sh for tput-less systems
2015-10-20 23:30:29 +02:00
Marc Cornellà b3c10b925e Merge pull request #4505 from arvindch/checked-upgrade
Check for git before trying to upgrade OMZ
2015-10-20 23:29:00 +02:00
Marc Cornellà e0c9ada380 Merge pull request #4214 from queria/chuck-linefix
chucknorris: add missing line/quote delimiters
2015-10-20 23:05:12 +02:00
Marc Cornellà 662bdcc8d8 Merge pull request #4515 from brianloveswords/safer-install-script
Make install script safer
2015-10-20 22:47:02 +02:00
Marc Cornellà a7b4c09373 Merge pull request #4526 from sachin21/fix_typo
[FIX #4525]: Fix typo
2015-10-20 12:54:10 +02:00
Marc Cornellà 8c73eb4f44 Merge pull request #4419 from apjanke/installer-termcap-hack
installer: ignore errors in color setup, for FreeBSD portability
2015-10-20 08:30:14 +02:00
Marc Cornellà 45f0a2800b Merge pull request #4508 from Superbil/master
Fixd bug for pyenv plugin
2015-10-20 08:28:13 +02:00
Marc Cornellà 56345c26fb Merge pull request #4473 from apjanke/5_1_1-bracketed-paste-hack
Disable bracketed-paste-magic in zsh 5.1.1, where it is buggy
2015-10-20 08:26:15 +02:00
Marc Cornellà 82ae41ca4c Reorder xcode plugin file 2015-09-07 12:09:08 +02:00
Marc Cornellà 213f46a296 Add xcselv documentation in the README 2015-09-07 12:08:50 +02:00
Marc Cornellà d95589d4e4 Add README for the xcode plugin 2015-09-05 23:17:38 +02:00
Marc Cornellà ec3694c788 Make simulator dependant of currently active dev directory
This also gets rid of `xcode-select` command-not-found errors.
2015-09-05 22:47:52 +02:00
Marc Cornellà 24bdd8e29a Replace xcsel function with just an alias 2015-09-05 22:47:52 +02:00
Marc Cornellà 6a830f39b6 Return error if no xcode files where found 2015-09-05 22:47:52 +02:00
Marc Cornellà cbdad588e6 Use zsh globbing instead of ls + grep in xc function
Uses zsh arrays and globbing to find .xcworkspace and .xcodeproj files.
2015-09-05 22:47:52 +02:00
Marc Cornellà 38d25a3359 Update taskwarrior completion to latest version (Jul 26 2015)
See relevant commit at:
https://git.tasktools.org/projects/TM/repos/task/commits/3158883dc4d251
2015-09-05 22:47:51 +02:00
Marc Cornellà 75844fe1a1 Put relevant documentation into README file 2015-09-05 22:47:51 +02:00
Marc Cornellà b42efeb87e Switch off line wrapping in case dots occupy extra line
This commit uses the (hopefully) standard rmam and smam escape sequences
which toggle off and on line wrapping respectively.

This is so that extra dots that don't fit the current line won't be
displayed in the next line, which would in turn make the shell
display a new prompt on the next line after the dots are hidden.

I've added a check for $terminfo rmam and smam values to be sure we have
them before printing them out.

If this commit breaks something post an issue with your terminal
emulator and $TERM value and we'll figure out what went wrong.
2015-09-05 22:47:50 +02:00
Marc Cornellà 6a8d406eaa Use prompt expansion sequence to color red the output
This makes it clearer and possibly more portable for different
platforms.
2015-09-05 22:47:50 +02:00
Marc Cornellà 3976e04035 Use proper if comparison 2015-09-05 22:47:50 +02:00
Marc Cornellà c481c62bc9 Refactor and clear up README file 2015-09-02 00:26:16 +02:00
Marc Cornellà d982e1200f Reorder alias definitions 2015-09-02 00:26:15 +02:00
Marc Cornellà 663ac56d54 Prettify frontend help output and clean up logic 2015-09-02 00:26:14 +02:00
Marc Cornellà f1472f1f64 Simplify frontend-search function with assoc array
Also adds the lodash URL (which was missing) and uses https on those websites
that support it.
2015-09-02 00:26:11 +02:00
Marc CornellàandIgor Dejanovic 7f64092361 [vim-interaction plugin] Escaping special chars in file names and simplifying code. 2015-09-01 19:07:49 +02:00
Marc Cornellà 9121f3e9d7 Merge pull request #4 from wkentaro/fix-git-prompt-plugin
Show tag name when detached status if possible
2015-08-17 12:43:23 +02:00
Marc Cornellà be667a24b0 Remove obsolete comment 2015-08-17 01:05:37 +02:00
Marc Cornellà 3c698743fa Clean up gitstatus.py 2015-08-16 23:21:48 +02:00