Commit graph

2971 commits

Author SHA1 Message Date
Tristan Escalada
9e14387408 terraform: disable terraform prompt in $HOME (#7227)
In the home directory there is a .terraform folder for modules but it is most likely not
an actual directory of terraform scripts. Therefore, this patch disables checking for workspace in the home directory.
2018-10-05 20:56:56 +02:00
Martin Nestorov
e09eb23158 emacs: add README (#7235) 2018-10-05 20:43:04 +02:00
Rubén Durán Balda
ae548a9973 jump: add README (#7237) 2018-10-05 20:23:30 +02:00
Aswath K
08f2fc1214 themes: fix custom themes directory (#7233) 2018-10-05 10:13:39 +02:00
Griko Nibras
43e5c9093a catimg: add README (#7232) 2018-10-05 09:43:45 +02:00
Griko Nibras
50cb0846a9 lol: add README (#7231) 2018-10-05 09:38:50 +02:00
Niklas Gögge
0963a9a4cc iterm2: add README (#7230) 2018-10-05 09:29:43 +02:00
Griko Nibras
982e14cd3a dircycle: improve README (#7223)
+ changed keypresses to use the <kbd> tag
+ added "rebinding keys" section
- removed line break on description
- removed line break on "rebinding keys"
2018-10-04 23:47:36 +02:00
Aswath K
2cb7bc7357 Add READMEs to plugins: yum, mosh, themes (#7229) 2018-10-04 23:41:34 +02:00
Jayadeep K M
759f682088 docker-compose: add aliases to README (#7226) 2018-10-04 23:35:39 +02:00
Jayadeep K M
b0274a8877 systemd: add README (#7225) 2018-10-04 23:27:09 +02:00
Marc Cornellà
13b8757044
change title to h1 2018-10-04 23:13:46 +02:00
Marc Cornellà
6c721e6f95
add alias descriptions 2018-10-04 23:13:16 +02:00
Zach Whitten
8d3cafca3e Add Gem README 2018-10-04 08:56:43 -04:00
Zach Whitten
6f24f4a18a gradle: add README (#7211) 2018-10-04 13:30:33 +02:00
Sergey Lysenko
a6d40b8f8b laravel: add README (#7222) 2018-10-04 13:23:07 +02:00
Sergey Lysenko
d05bf3962b laravel5: add README (#7221) 2018-10-04 13:17:01 +02:00
Sergey Lysenko
6f9a514511 laravel4: add README (#7220) 2018-10-04 13:13:04 +02:00
Umberto Nicoletti
77d70c9f99 postgres: add README (#7217) 2018-10-04 13:12:07 +02:00
Aswath K
67f3c72d10 bower: add README (#7216) 2018-10-04 13:10:52 +02:00
Bjorn Stange
b231840d95 vagrant: add README (#7215) 2018-10-04 13:07:47 +02:00
MasterOfTheTiger
7f96366970 go: add README and deprecation warning (#7214) 2018-10-04 13:06:21 +02:00
Griko Nibras
ceb8e7d304 dircycle: add README (#7213) 2018-10-04 13:04:04 +02:00
MasterOfTheTiger
c649644695 ruby: add README (#7212) 2018-10-04 12:48:29 +02:00
Sagar Patil
9d57a90b41 emoji-clock: add README (#7208) 2018-10-03 23:06:02 +02:00
Zach Whitten
2d967d66e6 ubuntu: update plugin README (#7199) 2018-10-03 20:52:38 +02:00
Zach Whitten
5ce96c3f77 mix: add Nerves tasks to completion (#7180) 2018-10-03 20:10:40 +02:00
Bjorn Stange
dfe7d6eca1 golang: add README (#7207) 2018-10-03 18:13:48 +02:00
Sebastian Müller
544dfdd6da macports: add README (#7204) 2018-10-03 18:08:50 +02:00
Denys Dovhan
2e0a5cbefd web-search: add README (#7203) 2018-10-03 18:02:21 +02:00
Denys Dovhan
d1e1f1f340 nvm: add README (#7202) 2018-10-03 18:01:03 +02:00
Denys Dovhan
af7d165a7f node: add README (#7201) 2018-10-03 17:59:30 +02:00
Marc Cornellà
9b19ca2871
gulp: add README (#7200) 2018-10-03 17:56:47 +02:00
Marc Cornellà
8bc176f124
add link 2018-10-03 17:56:27 +02:00
Denys Dovhan
0f6e3dc223 grunt: add README (#7198) 2018-10-03 17:54:07 +02:00
Jonatan Skogsfors
fe4ac966fa jump: use more compatible flag for ln (#7205)
The flag '-h' isn't universal across implementation. According to FreeBSD man page for ln you can use 'n'.
2018-10-03 17:30:17 +02:00
Griko Nibras
47004414a0 encode64: add README (#7192) 2018-10-03 17:23:49 +02:00
Rubén Durán Balda
ca45d510dd jump: fix behavior when reusing a mark (#7197)
Force the mark to point to the new dir, replacing the old one.

Fixes #7195
2018-10-03 16:19:46 +02:00
Denys Dovhan
e03fe0c301
Add README.md to gulp plugin. Issue #7175 2018-10-03 16:12:26 +03:00
Luiz Guilherme Fonseca Rosa
c2113d7cc6
Create Laravel plugin README 2018-10-02 21:44:26 -03:00
Luiz Guilherme Fonseca Rosa
729339c780
Update laravel.plugin.zsh
Add some laravel aliases
2018-10-02 21:37:02 -03:00
Sagar Patil
0fdb911da0 python: add README (#7191) 2018-10-02 23:51:14 +02:00
Michal Mazur
3db25d578a vagrant: fix typo in completion (#5846) 2018-10-02 21:56:50 +02:00
Fernando
5cf46edef3 vscode: rename vsce and vsced aliases (#7190)
Changed aliases from
```
alias vsce='code --extensions-dir'
alias vsced='code --disable-extensions'
```
to
```
alias vsced='code --extensions-dir'
alias vscde='code --disable-extensions'
```

`vsce` is the command line to publish extensions:
https://code.visualstudio.com/docs/extensions/publish-extension
2018-10-02 21:54:43 +02:00
Marc Cornellà
01de53fff3
tmuxinator: add README (#7189) 2018-10-02 21:49:24 +02:00
Marc Cornellà
3ed19ce45e
added completion and link 2018-10-02 21:49:06 +02:00
gramps
2c559a496c rsync: add README (#7188) 2018-10-02 21:44:06 +02:00
gramps
ca3984759a suse: add README (#7187) 2018-10-02 21:40:26 +02:00
Marc Cornellà
ac3b345365
dircycle: trigger appropriate hooks after directory change (#7161)
This commit triggers precmd and chpwd hook functions iff we changed directory.

This has the same behavior as zsh's hook function execution, which tries to run
the functions in the order specified and silently ignores any function that
does not exist.

See http://zsh.sourceforge.net/Doc/Release/Functions.html#Hook-Functions

Also moved duplicate nopushdminus logic to the `switch-to-dir` function.
2018-10-02 21:31:26 +02:00
gramps
b67883f963
Create README.md 2018-10-02 14:22:59 -05:00
gramps
a8e69686aa chucknorris: add README (#7186) 2018-10-02 21:16:50 +02:00
Serdar Dalgıç
7e93b8409f kubectl: add aliases for delete and watch/wide options (#6790) 2018-10-02 21:14:28 +02:00
Benjamin Krein
e5915858eb kubectl: add aliases for namespaces and configmaps (#7102) 2018-10-02 20:55:45 +02:00
Patrick Stegmann
64e262ea48 kubectl: add kga and kgaa aliases (#6744) 2018-10-02 20:53:38 +02:00
Zach Whitten
69bd9ab3f0 mix: add README (#7185) 2018-10-02 19:58:14 +02:00
Rubén Durán Balda
8bc9f23b7c brew: fix typo in README (#7184) 2018-10-02 09:01:49 +02:00
Alexandre Jacques
28b5ec644c django: add README (#7181) 2018-10-02 09:00:33 +02:00
Brian Mitchell
ca8c7bad14 brew: add README (#7183) 2018-10-02 08:10:03 +02:00
Marc Cornellà
40a60d2847
chruby: add "system" to completion list if available (#5280)
Detect system Ruby in default `PATH`, and provide "system" completion if found.

Tested with [the Dockerfile](https://gist.github.com/franklinyu/b8deda6a5093a17b575679b5808b371f).
2018-10-01 16:50:17 +02:00
Saurav Jaiswal
6dcea3deca fedora: add README and deprecation warning (#7178) 2018-10-01 16:45:56 +02:00
David McKissick
86fc391f8c iwhois: add README (#7176) 2018-10-01 12:37:59 +02:00
Marc Cornellà
7f96f4476c
jenv: update README 2018-10-01 12:14:15 +02:00
Griko Nibras
441595d036 sudo: add README file (#7177) 2018-10-01 12:05:34 +02:00
Marc Cornellà
b4007b5400
git-auto-fetch: small README fixes 2018-09-26 23:59:57 +02:00
Marc Cornellà
6bd95ddbdc
add plugin: git-auto-fetch (#5477) 2018-09-26 23:56:58 +02:00
Erik
7f6e6cf346 react-native: fix table in README (#7159)
Fixes the broken bottom "Logging" section of the table
2018-09-25 17:36:35 +02:00
Chris
5e1d351339 bgnotify: use double dash in kdialog title option (#7153)
The options for kdialog in KDE use double dashes
2018-09-25 13:56:29 +02:00
Marc Cornellà
14fead0964
vi-mode: disable displayed mode on startup
This change had the unintended consequence of overriding the functions to ensure
that application mode was set to use $terminfo sequences, introduced in #6449.

Fixes #7137
2018-09-24 18:52:11 +02:00
Batuhan's Unmaintained Account
c7d903b77e
Remove Optional Static Type Checker's (mypy) Cache Files on pyclean
Remove Optional Static Type Checker's (mypy) Cache Files on `pyclean`
2018-09-23 12:12:27 -04:00
Igor Rootsi
627393eada docker-compose: add dcupd alias for detached mode start (#7144) 2018-09-21 16:54:04 +02:00
Erik
008006bbcd react-native: add new iPhone model simulators to README (#7146) 2018-09-21 16:51:35 +02:00
Erik
178df729b1 react-native: add iPhone XR, XS, and XS Max simulators (#7145) 2018-09-21 16:50:54 +02:00
Nicolas
918a78cfdb man: rename file to *.plugin.zsh (#6016)
Also fixed minor typo

Closes #6108

Co-authored-by: Matt <sifrawr@gmail.com>
2018-09-16 20:16:16 +02:00
Marc Cornellà
4d940109e3 misc: remove execution permission from various files 2018-09-15 23:57:12 +02:00
Erik
315eb77336 react-native: update readme with new aliases (#7135) 2018-09-13 21:42:12 +02:00
Ivan Eisenberg
d77d636b4c git-flow: add "gflfp" alias for feature publish (#6350)
- Add `gflfp` as an alias for `git flow feature publish`
- Update README.md documentation
2018-09-13 21:41:26 +02:00
Erik
16bfd6fd7f react-native: add aliases for newer iPhones (#7134)
Added aliases for iPhone 7, 7 Plus, 8, 8 Plus, SE, and X
2018-09-12 22:56:18 +02:00
Max Gautier
509a554900 git: use color auto for ref names in git log (#5729)
Allow the ref names to have differents colors if they are remote refs
or local refs, and another color for HEAD
(use the same coloring scheme as --decorate option)
2018-09-12 19:35:10 +02:00
Luis Ferrer-Labarca
5ee93f4f15 git: add git rm aliases (#5433)
* grm for 'git rm'
* grmc for 'git rm --cached'
2018-09-12 19:08:12 +02:00
Yago Nobre
0db7da0cd5 git: add push force aliases (#6297)
* gpf to --force-with-lease
* gpf! to --force
2018-09-12 19:05:57 +02:00
Simen Bekkhus
a3afeca3eb git: add gbD alias to force-delete branch (#5844) 2018-09-12 18:38:21 +02:00
Garth Mortensen
bf05bb3a1b dash: update dash bundle identifier (#7127) 2018-09-12 18:13:13 +02:00
Jefferson F. Pires
d5f0a0a413 git: add glols alias for glol --stat (#5871) 2018-09-12 16:57:48 +02:00
Gant Laborde
69ba6e4359 git: add alias to git stash --all (#5511)
Stash tracked, ignored and untracked files. Leaves the working directory absolutely clean.
2018-09-12 16:28:59 +02:00
Poyoman
3d2542f41b git: add pull rebase --autostash aliases (#6791) 2018-09-12 15:52:42 +02:00
Garth Mortensen
1487a2ad84 urltools: add readme (#7126) 2018-09-11 20:22:55 +02:00
Matthieu PETIOT
d4cae83152 osx: add function to remove .DS_Store files (#7008)
rmdsstore removes .DS_Store files recursively in the current directory by default, or for the given directories.
2018-09-10 20:10:31 +02:00
Iulian Onofrei
08a2808636 Fix incorrect error message when running bi without having bundler installed (#7112) 2018-09-09 00:39:23 +02:00
Maxime Brunet
bb908495de fzf: Fix shell directory for archlinux package (#7119)
* fzf: Fix shell directory for archlinux package

* fzf: Don't clutter PATH if fzf already available

* brew has it available via symlink in /usr/local/bin
* Fedora and Arch packages have it place in /usr/bin

* fzf: Fix archlinux guess by using release file

* fzf: unset leftover variables
2018-09-08 15:31:13 +02:00
Michele Bologna
f73c29a820 Feat: add Salt completion plugin (#7031)
* Feat: add Salt completion

* Docs: add README
2018-09-06 11:34:37 -07:00
Maxime Brunet
86542dcd86 Add fzf plugin (#6910) 2018-09-04 22:25:45 +02:00
Marc Cornellà
69e637c355
fasd: use xdg-open in o alias back again
Fixes #6314
2018-09-03 17:13:18 +02:00
Cristian Măgherușan-Stanciu @magheru_san
e416990442 fasd: drop-in replace the autojump j alias (#3860) 2018-09-03 17:09:31 +02:00
Ross Lafferty
0853b74fef jump: fix printf path output (#7105)
Using the `jump` plugin, using the `marks` command will yield this output:
```
$ marks
desktop marks:printf:5: bad option: ->
dotfiles        marks:printf:5: bad option: ->
home    marks:printf:5: bad option: ->
```

the `marks` function uses `printf` with `->` and I believe `-` is used by `printf` for left-justification.  changing this to `-- "->"` seems to render the appropriate output.

```
desktop -> /Users/uname/Desktop
dotfiles        -> /Users/uname/.dotfiles
home    -> /Users/uname
```
2018-09-01 13:37:05 +02:00
Marc Cornellà
9f1ffc64f1
vi-mode: reset-prompt if zle is active (TRAPWINCH)
Fixes zle errors when resizing:

  TRAPWINCH:zle: widgets can only be called when ZLE is active
2018-08-31 21:18:18 +02:00
Fadi Hadzh
dc8811f817 fix nmap vuln category name (#7044) 2018-08-29 23:06:11 +02:00
Serhii Kuts
94df503863 Update kubectl.plugin.zsh (#6636) 2018-08-29 12:01:40 -07:00
Balint Gyapjas
285b540167 vi-mode show indicator on zle-line-init and SIGWINCH (#6449) 2018-08-29 12:00:35 -07:00
Janosch Schwalm
3cd8eaf9bb execute mvnw with "mvn" when mvnw-file is present (#6484)
* executing mvnw, when mvnw-file exists
indriectly enable autocompletion for mvnw

* inform the user :)
2018-08-29 12:00:06 -07:00
Janosch Schwalm
84aa274604 executing gradlew, when gradlew-file exists (#6485) 2018-08-29 11:59:27 -07:00
Konstantin Gribov
2b6434e879 Fixed fwl function in firewalld plugin when sources used (#7011)
`firewall-cmd --get-active-zones` returns something like this:

```
dmz
  sources: ipset:dmz-hosts
public
  interfaces: eth0
```

if zone binding is based on source ips, so strings with `sources: ...` should be excluded along with `interfaces: ...` to get zones list.
2018-08-29 11:57:02 -07:00
Vinod Damle
e7c9bf8d66 kubectl: add alias for kubectl cp (#7068) 2018-08-29 11:56:30 -07:00
Matthew Murphy
8ec0937653 Update golang.plugin.zsh (#6750)
add alias to cd to $GOPATH, $GOPATH/src, $GOPATH/bin
2018-08-29 11:55:23 -07:00
Aiden
5cc6de67bd Update brew.plugin.zsh (#6947)
add aliases for `brew pin` and `brew list --pinned`
2018-08-29 11:53:24 -07:00
Dan O'Brien
39221643b0 Add aliases for kubectl nodes (#7093)
* Add aliases for kubectl nodes

* change to have 'o' at the end.

My teammate noticed there's no namespacing shortcuts either and will be doing a PR on them with kgna.
2018-08-29 11:51:50 -07:00
Kris Kalavantavanich
e93378aacd [plugins/git] Updated git clone alias (#6893)
* Updated git clone alias

`git clone --recursive` has been deprecated in favor of `--recurse-submodules`.  
See: https://stackoverflow.com/questions/3796927
2018-08-29 15:18:20 +02:00
Ryan Stull
2c1100c0e5 Updating 'sbcl' to 'sbcln' (#7095)
Changing 'sbcl' to 'sbcln' so it doesn't collide with 'Steel Bank Common Lisp', a popular lisp implementation.
2018-08-29 15:15:11 +02:00
Franklin Yu
36808ff61e [plugin/chruby] Add "system" to completion list
Detect system Ruby in default PATH, and provide "system" completion if
Ruby is found.
2018-08-23 20:46:23 -04:00
Joel Wallis Jucá
652356b9b9 git: add the git show alias gsh (#5591) 2018-08-23 22:04:42 +02:00
Marc Cornellà
2bb10441da
nyan: deprecate plugin with removal notice
Fixes #6826
2018-08-23 20:28:20 +02:00
jack
314f9dfcb3 github: fix new_gh to force-add .gitignore (#7086) 2018-08-23 20:01:01 +02:00
Marc Cornellà
fceae90219
jenv: fix brew directory search
`brew --prefix jenv` doesn't ensure jenv is installed so we have to recheck if the
bin folder is still there.
2018-08-19 22:33:44 +02:00
Scott Kidder
dc948826b2 ember-cli : Add alias for ember test --serve (#6492) 2018-08-19 22:14:55 +02:00
Rob Loach
0de3b29fd3 composer: Fix bin directory when Composer is not available (#6240)
* Fix for Composer's bin when Composer isn't global

When Composer isn't globally installed, the `composer global` call results in an error. This checks to see if Composer is available before making the call. When Composer isn't available, it will just manually set the directories.

* Fix Composer brackets in global bin directory

* composer: Apply feedback from ricpelo

This applies ricpelo's feedback at https://github.com/robbyrussell/oh-my-zsh/pull/6240#pullrequestreview-64253321

* composer: Fix path check syntax

* composer: test with $commands[] syntax
2018-08-19 21:46:22 +02:00
Sumit Sahrawat
b743ce9224 Add scu-* aliases for 'systemctl --user' commands (#6661) 2018-08-19 21:39:58 +02:00
Marc Cornellà
be65adc6c3
git-extras: update completion (2018-05-24 0f76863) 2018-08-19 21:36:21 +02:00
Marc Cornellà
3edd424af2
jenv: small fix 2018-08-19 19:43:35 +02:00
Marc Cornellà
873dc9cfb8 jenv: update README 2018-08-19 19:41:49 +02:00
Marc Cornellà
3a822bb5fd jenv: refactor and optimize logic 2018-08-19 19:36:46 +02:00
John Burwell
e8b9958926 Add jenv plugin
Initializes jenv and provides the jenv_prompt_info funtion to add
Java version information to prompts.  This function is stubbed in
prompt_info_functions script to allow it to be safely called
regardless of whether or not the jenv plugin is loaded.

It also splits detection of the plugin/versions directory and bin directory
to suppport the way Homebrew splits the jenv bin and data directories
2018-08-19 19:12:24 +02:00
15cm
ff6b4c835b tmux: do not auto-load tmux inside of Emacs/Vim
When Emacs and Vim are launched from outside of an interactive shell,
$TMUX and $STY are not set; check for Emacs and Vim environment
variables instead.
2018-08-18 21:00:43 +02:00
Dennis Hägler
a52a5fb1f4 Remove the white space
The white space is causing an error and bundler cannot find any commands!
2018-08-16 22:41:29 +02:00
Peter Bittner
035d78120c Add Git alias for git diff --staged (#7064) 2018-08-15 19:44:06 +02:00
Marc Cornellà
af1709cfdc
kubectl: use kubectl to define aliases
This prevents conflicts with other utilities named k (see #6408).
2018-08-13 22:07:07 +02:00
Tushar Tiwari
1691cf8a99 Add alias for git add --verbose (#3167)
Add alias `gav='git add -v'`
fixes #6793
2018-08-13 21:11:25 +02:00
Marc Cornellà
f2f078a1bb
pass: update completion (2018-08-03) 2018-08-09 20:17:43 +02:00
Marc Cornellà
052a6dbd16
docker-machine: add official completion
Fixes #6962
2018-08-09 19:24:03 +02:00
Thi
9624ce992e Add shell completion for Swift Package Manager (#7046)
This was generated by the Swift compiler 4.1.2 using the following
command:

swift package completion-tool generate-zsh-script
2018-08-09 19:10:32 +02:00
Alexander Kapshuna
5fbf912093 extract: whl files support (#7045) 2018-08-09 18:16:15 +02:00
Tom Milligan
3a31074d34 Update docker plugin from upstream docker/cli (#7018)
Update `docker` plugin from [docker/cli master](https://github.com/tommilligan/cli/blob/master/contrib/completion/zsh/_docker)

- bugfix for `docker update` autocompletion: https://github.com/docker/cli/pull/1232
- added `scope` subcommand: https://github.com/docker/cli/pull/1227/files
2018-08-09 17:37:47 +02:00
Marc Cornellà
60db5cdb58
tmux: fix invalid syntax on old zsh versions
First reported on f584de5930 (r29984052)
2018-08-09 17:19:40 +02:00
Michal Halenka
44473d785e Add doctl autocompletion (#6501) 2018-08-08 14:12:55 +02:00
Marc Cornellà
91d55dce11
bundler: update README with latest changes 2018-08-08 13:36:27 +02:00
Marc Cornellà
c781d708da dotenv: test and warn of incorrect.env syntax
Fixes #6337
2018-08-08 00:05:34 +02:00
Marc Cornellà
9ecde7f732 dotenv: call function on startup
Fixes #7017
2018-08-07 23:54:07 +02:00
Joseph Richey
8961a3794c plugins/go: Simplify/fix recursive golang format (#7027)
Per the [`go` command specification](https://golang.org/cmd/go/#hdr-Package_lists),
the `...` wildcard matches the empty string. This makes commands like
`go <action> . ./...` unnecessary: they should use `go <action> ./...`.

This also fixes a bug with the `gofa` shortcut, where it would emit an
error if called from a directory containing no go source files (but
having subdirectories that _did_ contain go files).
2018-08-07 22:54:45 +02:00
Jeff Dickey
0cc371181a use official heroku autocomplete (#6919) 2018-08-07 21:41:53 +02:00
Johan Kaving
850975eb78 Add support for ForkLift 3 (#6490)
This adds support for ForkLift 3, which uses a different
application id and also uses a popover instead of a sheet for
entering the directory to go to.

This also improves the handling of different versions of ForkLift,
by first choosing any currently running instance, and if none is
running starting the newest available version.

Fixes #6565.
2018-08-07 21:39:38 +02:00
Marc Cornellà
2991f237ae
bundler: allow aliases in bundle exec
This means that if you have, for example, `alias rs='rails server'`, you can
run `be rs` and have it expanded to `bundle exec rails server`.

Fixes #5818
2018-08-07 21:04:09 +02:00
Janosch Schwalm
19b925e741 use https everywhere (#6574)
* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
2018-08-07 20:42:01 +02:00
Tony Lotts
e934624b32 Add function to search Dash.app (#2557)
* Add function to search Dash

* Pass all arguements instead of just the first

* Adding docset completion with help from @kapeli and [arx]
2018-08-07 18:14:38 +02:00
John Burwell
05713785b0 asdf: add Homebrew and completion support (#6749)
* Modifies the search logic for asdf to include Homebrew when it is
installed. The implementation is adapted from the pyenv plugin.
2018-08-07 18:10:35 +02:00
kapsh
91b771914b extract: check file extension as lowercase (#6158)
Fixes #6157
2018-08-07 00:45:24 +02:00
Marc Cornellà
76d3eedf7f tmux: fix regression after f584de5
Fixes #7041
2018-08-07 00:40:18 +02:00
Marc Cornellà
f584de5930 tmux: refactor and simplify tmux function logic 2018-08-03 22:13:48 +02:00
Andrew Janke
19716a8e3d tmux: refactor
- Consolidates the switch-adding logic for readability.
- Replaces "[[ ... ]] && ..." with "if [[ ... ]]; then ..." in some
  cases to avoid a spurious nonzero exit status from _zsh_tmux_plugin_run.
- Puts error message on stderr instead of stdout
2018-08-03 22:09:06 +02:00
Andrew Janke
f33691fbb6 tmux: detabify source code
Also changes the tmux detection test to do an early exit if tmux is absent,
to reduce the indentation level of the main body of code.
2018-08-03 21:21:42 +02:00
Thanh Ha
5fa7824ea5 git-prompt: fix error when multiple tags exist (#6998)
When a commit has multiple tags associated to it, the git-prompt will
throw the following error:

git_super_status:[:4: integer expression expected: v0.21.x\ntags/v0.21.5,
git_super_status:[:7: integer expression expected: origin/v0.21.x,
git_super_status:[:11: integer expression expected: origin/v0.21.x,
git_super_status:[:14: integer expression expected: v0.21.x
git_super_status:[:23: integer expression expected: v0.21.x

This is due to the prompt expecting the tag field to be a single word
with no spaces in between but if there are multiple tags the python
script returns a string with ', ' space separated list of tags.
This throws off the parser. The solution is to ensure that the python
script returns a space-less string ensuring the git-prompt parser to
properly parse the data.

Signed-off-by: Thanh Ha <zxiiro@linux.com>
2018-07-29 17:45:35 +02:00
MarkPochert
a24a0b1a8e Update z to latest version (#7021) 2018-07-29 17:43:15 +02:00
Thi
6ca57e035c [plugins/xcode] Fix opening project using a wrong Xcode version (#6829) 2018-07-19 17:20:45 +02:00
Johan Kaving
626b30b2a3 Update git-flow-avh to 0.6.0 (#6498)
This updates the git-flow-avh plugin to the latest version
from https://github.com/petervanderdoes/git-flow-completion
(0.6.0 at the time of this commit).

This mainly adds support for the "git flow bugfix" command.

This PR replaces #4626 as well as #4705, both of which adds support for the bugfix command but doesn't use the official version from https://github.com/petervanderdoes/git-flow-completion

Fixes #4705
Fixes #4626
Fixes #5903
2018-07-19 16:53:19 +02:00
Jon Mosco
a3ab45db8b updating kube-ps1 to align with upstream changes (#6995) 2018-07-19 16:32:31 +02:00
Marc Cornellà
d302e3eebe
bundler: fix bundle version git error
It seems that `bundle version` calls git to know the commit sha, while `bundle --version` only shows the version of bundler.

Fixes #6988
2018-07-18 23:34:38 +02:00
Arun Sathiya
f88396e327 wp-cli: fix README typo for wptu command (#6987) 2018-07-12 23:08:22 +02:00
Marc Cornellà
4c0b82b482 yarn: add README 2018-07-11 21:42:31 +02:00
Marc Cornellà
344b13c4a5 yarn: add aliases for common commands
Fixes #5722
Fixes #5864
Fixes #5920
Fixes #6566
Fixes #6579
Fixes #6686
Fixes #6740
2018-07-11 21:42:31 +02:00
Marc Cornellà
1a657c6c4d yarn: use zsh-completions completion (ff73f40)
Version: ff73f40 (2018-05-02)

Fixes #5859
Fixes #5878
Fixes #5983
Fixes #6013
2018-07-11 21:42:31 +02:00
Arthur
7cb5fa8aea Fix dotenv plugin accepted file format and clarify README (#6093)
* Fix dotenv plugin accepted file format

* clarify README and add disclaimer section
2018-07-10 23:31:47 +02:00
Azat S
be342b1bc8 Yarn upgrade-interactive (#5796)
* Add Yarn upgrade-ineractive CLI command

* Remove dots at the end of completions
2018-07-10 13:41:20 +02:00
Thomas Kriechbaumer
d232e6866c ufw: remove debug print (#6976) 2018-07-09 19:27:02 +02:00
Matthieu PETIOT
b0052c7958 Add argument to set644 and set755 perms alias. (#6959)
This can avoid big mistakes as this I just made.
I thought I could give it an argument. So, now, it is possible.
2018-07-04 12:48:46 +02:00
Shawn Milochik
dd8cf51397 Spelling fix (#6963) 2018-07-03 17:46:33 +02:00
Roman Sedov
da8745eb9a convenient vscode plugin for oh-my-zsh (#6903) 2018-07-03 17:45:42 +02:00
Marc Cornellà
9711d8f731
Rename kube-ps1.zsh to kube-ps1.plugin.zsh 2018-07-02 17:04:09 +02:00
Alexandre Nicastro
af085542bd Stop error "permission denied: /npm_completion" (#6340)
Fixes #5874

Related:
https://github.com/lukechilds/zsh-nvm/issues/23
https://github.com/zsh-users/antigen/issues/586
2018-07-01 23:21:20 +02:00
Maciej Sypień
5c0911c184 update nvm completions with v0.29.0 (#4701) 2018-07-01 23:12:14 +02:00
当轩
ac0d71467b add plugin:percol (#4582)
* add plugin:percol

* fix format

* check percol

* fix empty history in gnome terminal
2018-07-01 23:07:35 +02:00
Pierre Barbier de Reuille
27b9aed87f Added "-n name" option to vim-interaction plugin (#4522) 2018-07-01 20:48:53 +02:00
meehow
c7d8ad1e75 sudo added to nmap commands which require sudo (#4476) 2018-07-01 20:45:15 +02:00
miguelpuyol
2732126525 Add Spring Boot Run command (#4460) 2018-07-01 20:42:29 +02:00
Alberto Re
29a2394c8f Adds vagrant_prompt_info function to your shell (#4081) 2018-07-01 20:16:08 +02:00
Shadab Zafar
78e7ec2186 Add magic-enter plugin (#4082)
* Added magic-enter plugin

To bind commonly used tasks to the enter key

* Allow the magic-enter commands to be modified by the user
2018-07-01 20:13:49 +02:00
Thomas Kriechbaumer
2de926aa10 add ufw completion script (#3835) 2018-07-01 20:00:09 +02:00
Hosmel Quintana
4aaafc0fe8 Add Homestead plugin (#3712) 2018-07-01 19:39:44 +02:00
Michael Stucki
302270174d Use existing ssh-agent when invoking a sudo shell (#3891)
When invoking a shell as root using ```sudo -s```, the ssh-agent plugin
starts a new agent although it already exists.

The problem boils down to a check if ssh-agent is running using
```ps x```. If that is extended to ```ps ax``` for root, then the
existing ssh-agent will still work.
2018-07-01 18:20:34 +02:00
Justin Aiken
b09890a3e4 Added more levels of zeus compeletion (#2058) 2018-06-30 22:45:20 +02:00
Michal Juriš
b6ca933a02 Add alias for 'git rebase develop' (#6006) 2018-06-30 22:25:53 +02:00
Sascha Rudolph
0639582f73 6098 - add support for apt in debian plugin (#6122)
Signed-off-by: Sascha Rudolph <sascharenerudolph@gmail.com>
2018-06-29 18:22:46 +02:00
Marc Cornellà
76bfa7dd2a
rand-quote: refactor rand-quote function
- Make function variables local
- Use prompt color sequences
- Use guard clause to check for curl
- Improved syntax
2018-06-29 18:16:10 +02:00
Marc Cornellà
1e255a1a8d
rand-quote: add README 2018-06-29 17:55:55 +02:00
Marc Cornellà
787c6899d4
rand-quote: update URL
Fixes #6949
2018-06-29 17:50:32 +02:00
Jeremy Jones
547a6ce260 fix path completion issue with go run subcommand (#6929) 2018-06-24 06:52:53 +02:00
Ruben Di Battista
6c1dab2320 Fix autojump sourcing on OSX with Macports (#4801)
* Fix autojump sourcing on OSX with Macports

The last version of autojump available on Macports does not have
anymore different shell scripts (.sh, .zsh, .bash ...) to be sourced
but just one autojump.sh that takes care of that located at
/opt/local/etc/profile.d/autojump.sh

fix # 4625

* Fix bug with macports autojump on OSX.
2018-06-20 23:27:38 +02:00
doofin
a0b8eab5f0 Update sbt.plugin.zsh (#6930) 2018-06-19 17:38:10 +02:00
Marc Cornellà
6af58f492f
common-aliases: delete unexistant command
`display_info` doesn't exist in any known platform

Fixes #5208
2018-06-18 22:47:51 +02:00
Elton Chen-Yu Ho
0d80e9b4ee Fix zshrc alias when $EDITOR uses parameters (#6146)
According to #5003

if one exports EDITOR with parameters, say:
`export EDITOR='subl -w'`
 
running command:
`zshrc`
 
will result in:
`zsh: command not found: subl -w`

This can be fixed by updating common-aliases.plugin.zsh line 16 with:
`alias zshrc='${=EDITOR} ~/.zshrc' # Quick access to the ~/.zshrc file`

Fixes #5003
2018-06-18 22:12:07 +02:00
Henry Bley-Vroman
48e2c828ef Thefuck: homebrew install documentation and thefuck repo link (#5940)
* Thefuck: homebrew install documentation and thefuck repo link
* thefuck: reformat error message
2018-06-18 21:04:42 +02:00
kang
c99844d848 adb: fix adb -s device completion (#6489) 2018-06-17 00:07:03 +02:00
Przemysław Włodek
f258bcba8d Fix yarn alias that conflicts with yeoman cli (#6453)
Yeoman cli alias is 'yo' so 'yarn outdated' can't be aliased to 'yo'.
See: http://yeoman.io/
2018-06-17 00:03:14 +02:00
Marc Cornellà
ef1e89b44b meteor: fix formatting and reorganise 2018-06-15 23:06:09 +02:00
Adnan Y
125dd32361 meteor: completion updated with more commands 2018-06-15 23:05:45 +02:00
Yann VR
2647a8ccfd Meteor-1-2 arguments update (#4538)
Fixes #4280
Fixes #4321
2018-06-15 21:40:31 +02:00
Edwin de Jong
4105faf620 Update sbt to add publish-local to commands (#3112) 2018-06-15 21:04:25 +02:00
Parham Alvani
5efa5138bf silence mode of curl (#6898)
Uses silence mode of curl for better autocomplete.

Co-authored-by: Dominik Rimpf <dev@d-rimpf.de>
2018-06-14 20:32:15 +02:00
Marc Cornellà
09fbc16366
Refactor lein plugin (#6914)
* Add upstream lein completion (cee9029d)
* Delete lein.plugin.zsh
2018-06-12 20:45:38 +02:00
Marc Cornellà
be5bff2e86
Allow FreeBSD to correctly detect number of CPUs
Use the same scheme as Darwin - sysctl instead of nproc, which doesn't exist in FreeBSD

Closes #2545

Co-authored-by: Daniel Bye <dbye@users.noreply.github.com>
2018-06-12 19:54:47 +02:00
Marc Cornellà
7a9bab1d77
Update tmuxinator completion to 03c8babb 2018-06-12 19:20:10 +02:00
Peter Butkovic
321200d708 added tmuxinator aliases (#3147) 2018-06-12 19:19:59 +02:00
Marc Cornellà
3dcf9fd662
Delete python completion in favor of zsh's one 2018-06-12 18:40:31 +02:00
Matteo Giaccone
0808c0f6ef Remove default for git reset (#4993)
The command will do the same as before, but now you can also specify
a path.

Example:
grh branch-name
grhh tag-name
2018-06-12 18:23:31 +02:00