Commit graph

4,093 commits

Author SHA1 Message Date
Roman Kapitonov
564a52f659 Add ability to autocomplete services for brew-services. 2016-09-06 10:23:18 +03:00
Marc Cornellà
2b661f52c4 git: output nothing when no commits ahead or behind
This fixes old git_commits_ahead behavior and changes git_commits_behind
to have the same behavior.

Fixes #5355
2016-09-05 11:22:48 +02:00
Marc Cornellà
d8470b68e1 git plugin: remove `format:' from --pretty flag
Changes gke, glol and glola aliases.

Fixes #5362
2016-09-05 10:56:18 +02:00
Marc Cornellà
c46a06f29b Merge branch 'fix/ssh-agent-process-check' 2016-09-05 08:35:48 +02:00
Marc Cornellà
903f7017aa ssh-agent: fix non-standard process check w/ pgrep
Confirmed to work on MacOS, OpenBSD, Solaris and busybox.
2016-09-05 08:31:20 +02:00
Marc Cornellà
b879007799 Merge pull request #5328 from mcornella/ssh-agent-refactor
Refactor of ssh-agent plugin
2016-09-04 22:51:20 +02:00
jarhat
ab9de5579b archlinux: yasu now working - only one dash needed (#5373) 2016-09-04 19:51:42 +02:00
Marc Cornellà
a7bbd4f943 Force ssh-agent output to use bourne-style syntax
On systems where the shell cannot be changed because of a strict
security policy, ssh-agent will use the syntax of whatever the
default $SHELL is.
For instance, if the default shell is tcsh, ssh-agent will use the
c-shell style (setenv).

This change forces ssh-agent to use bourne-style syntax since that
has to be later interpreted by zsh. Consequently, the environment
file will contain `export' statements from now on (instead of
`setenv').
2016-09-03 20:49:55 +02:00
Marc Cornellà
e36e496bab Simplify PID check of current ssh-agent 2016-09-03 20:49:55 +02:00
Marc Cornellà
e241278055 Clean up formatting of ssh-agent plugin 2016-09-03 20:49:55 +02:00
Marc Cornellà
7586014d1f Extract comments into README for ssh-agent plugin 2016-09-03 20:49:55 +02:00
Marc Cornellà
7e1e11df8d Delete useless /usr/bin/env in ssh-agent 2016-09-03 20:49:55 +02:00
Maximilian Güntner
1bb92774fd ssh-agent: Use /usr/bin/env to find ssh-add
This change is important when ssh-add is not inside /usr/bin e.g.
on NixOS.

Signed-off-by: Maximilian Güntner <code@maschinenpsychologe.de>
2016-09-03 20:49:55 +02:00
Alexander J. Dita
1b7abf5e26 Fixed typo (#5369)
Coffee was missing an F
2016-09-03 19:49:20 +02:00
Marc Cornellà
a1b7d9b57c Merge branch 'add-droplr-plugin'
Closes #1972.
2016-09-02 21:04:17 +02:00
Marc Cornellà
f94b1e575a droplr: convert ruby file into zsh 2016-09-02 21:03:49 +02:00
Marc Cornellà
2b6cbc6b24 Add Droplr README 2016-09-02 20:26:14 +02:00
Fabio Fernandes
f647963b2a Add Droplr plugin 2016-09-02 20:26:14 +02:00
Marc Cornellà
c1e5cd747e Merge pull request #5343 from mcornella/rake-fast-plugin-refactor
Repost of #5319 and refactor of rake-fast plugin
2016-08-29 10:05:17 +02:00
Marc Cornellà
0964e0e6df rake-fast: change variable name from $path' to $file'
This solves a problem of using the variable name `$path' which then
smashes the environment variable `$PATH' and messes up the session.

See https://github.com/robbyrussell/oh-my-zsh/pull/5343#issuecomment-243043098
2016-08-29 09:43:08 +02:00
Marc Cornellà
db14039cce Reword rake-fast README, add lib/tasks information 2016-08-29 08:28:27 +02:00
Marc Cornellà
9d0e8be85e Fix syntax and formatting of rake-fast plugin 2016-08-29 08:28:27 +02:00
Aleksey Ivanov
2b742e3159 Fix _tasks_changed algorithm in rake-fast plugin 2016-08-29 08:28:27 +02:00
Rory Hardy
19b67ee359 Added perms plugin (#1752)
* Added perms plugin

* HTTPS -> HTTP for comment URL

* Added a README

* Updated TOF comment

* Pulled in updates by apjanke with minor tweaks
2016-08-26 22:05:33 +02:00
Kevin Ndung'u
c751698fc9 Disable zsh file globbing when running pip (#5348) 2016-08-26 21:41:16 +02:00
Marc Cornellà
bf383473ce Merge branch 'apjanke-cask-homebrew-paths' 2016-08-25 18:33:44 +02:00
Marc Cornellà
12ca0f575e Add README to cask plugin 2016-08-25 18:33:15 +02:00
Marc Cornellà
2941f862ee Style fixes and shorter command lookup 2016-08-25 18:32:01 +02:00
Andrew Janke
ced5bc15ed cask: check for Homebrew path for completion file 2016-08-25 03:22:07 +02:00
Marc Cornellà
ad8f784b1a init script: remove trailing slash from $ZSH_CACHE_DIR 2016-08-25 02:05:25 +02:00
Marc Cornellà
89488af97d Merge branch 'add-tig-plugin' 2016-08-24 21:28:54 +02:00
Marc Cornellà
bb0a0aa5da Add README to tig plugin 2016-08-24 21:28:49 +02:00
Steffen Tröster
861aabb08c adding tig plugin for oh-my-zsh 2016-08-24 21:28:49 +02:00
Multilul
3f993f8b24 iTerm2 v3 tab commands fixes (#5336)
Fixes the "syntax error: expected line end ..." (-2741) when using the tab, split_tab and vsplit_tab commands in iTerm2 v3
2016-08-24 21:15:12 +02:00
Ivan Eisenberg
bcd18f2ab5 Added documentation for undocumented OSX plugin commands (#5338)
* updated OSX plugin docs
2016-08-24 20:02:27 +02:00
Marc Cornellà
9474d57069 Merge pull request #5335 from mcornella/cleanup-archlinux-plugin
Clean up Archlinux plugin
2016-08-24 08:56:51 +02:00
Marc Cornellà
5c00f7e09f archlinux: fix pacmanallkeys URL, make curl silent
Also make all functions local as to not spill variables into the
global namespace.
2016-08-24 08:51:06 +02:00
Marc Cornellà
86ce7e3a92 archlinux: reword and simplify README 2016-08-24 08:48:03 +02:00
Marc Cornellà
e28e331fad archlinux: remove comments, format functions better 2016-08-24 08:47:52 +02:00
Marc Cornellà
008aab06f0 Properly fix npm completion source
Problem introduced in 136a834.
2016-08-24 00:13:24 +02:00
Marc Cornellà
22206e1559 Reorder zshrc template 2016-08-23 09:42:32 +02:00
Marc Cornellà
f72159f62f npm: only load completion if npm exists 2016-08-23 09:31:29 +02:00
Bjørn Madsen
6f285c61a9 archlinux: Update yasu alias
Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-08-23 01:51:29 +02:00
Marc Cornellà
37211f8d46 dircycle: keep switch until a directory is found
This fixes the use case where a directory in the dir stack
doesn't exist anymore, so the keystroke doesn't appear to
do anything.

It will keep trying to switch to the n-est directory in the
stack until it founds an available directory or the dirstack
has no more directories to switch to.
2016-08-22 16:57:10 +02:00
Philipp Wahala
a6be18d572 Create and cache npm completion on first run
Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-08-22 16:17:34 +02:00
Shubham Chaudhary
f34c4063f2 Add more go aliases (#5259)
*  Also gfa conflicts with git shortcut
2016-08-21 20:06:47 +02:00
Simon
2bf027c4c1 Add alias for checking out develop branch (#5307) 2016-08-21 19:46:37 +02:00
khenarghot
aef1d5f1bd Fix git emptiness check in dogenpunk theme (#5329)
The parsing output for full git log output too slow so it replaced
with last commit show request, wich cause error if repository is empty
2016-08-21 18:40:34 +02:00
Marc Cornellà
c24f7fed6f Revert "Fix pj() function when no project has been specified"
This reverts commit 7d298a3059.
2016-08-21 00:09:59 +02:00
Piotr Gaczkowski
79bd3a8467 Clobber ssh environment regardless of setopt (#5322) 2016-08-21 00:02:58 +02:00