summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-19composer: Fix bin directory when Composer is not available (#6240)Rob Loach
* 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-19Add scu-* aliases for 'systemctl --user' commands (#6661)Sumit Sahrawat
2018-08-19git-extras: update completion (2018-05-24 0f76863)Marc Cornellà
2018-08-19jenv: small fixMarc Cornellà
2018-08-19jenv: update READMEMarc Cornellà
2018-08-19Merge branch 'jburwell/jenv-plugin'Marc Cornellà
Closes #3406 Closes #4972 Closes #4523 Closes #5964
2018-08-19jenv: refactor and optimize logicMarc Cornellà
2018-08-19Add jenv pluginJohn Burwell
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-18tmux: do not auto-load tmux inside of Emacs/Vim15cm
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-16Remove the white spaceDennis Hägler
The white space is causing an error and bundler cannot find any commands!
2018-08-15Add Git alias for `git diff --staged` (#7064)Peter Bittner
2018-08-13kubectl: use kubectl to define aliasesMarc Cornellà
This prevents conflicts with other utilities named k (see #6408).
2018-08-13Add alias for git add --verbose (#3167)Tushar Tiwari
Add alias `gav='git add -v'` fixes #6793
2018-08-09pass: update completion (2018-08-03)Marc Cornellà
2018-08-09core: fix alias_value functionMarc Cornellà
Fixes #5835
2018-08-09docker-machine: add official completionMarc Cornellà
Fixes #6962
2018-08-09Add shell completion for Swift Package Manager (#7046)Thi
This was generated by the Swift compiler 4.1.2 using the following command: swift package completion-tool generate-zsh-script
2018-08-09extract: whl files support (#7045)Alexander Kapshuna
2018-08-09Update docker plugin from upstream docker/cli (#7018)Tom Milligan
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-09tmux: fix invalid syntax on old zsh versionsMarc Cornellà
First reported on https://github.com/robbyrussell/oh-my-zsh/commit/f584de5930467fd53e8b7d2e51f5227bc405e4b2#r29984052
2018-08-08Add doctl autocompletion (#6501)Michal Halenka
2018-08-08bundler: update README with latest changesMarc Cornellà
2018-08-08dotenv: test and warn of incorrect.env syntaxMarc Cornellà
Fixes #6337
2018-08-07dotenv: call function on startupMarc Cornellà
Fixes #7017
2018-08-07plugins/go: Simplify/fix recursive golang format (#7027)Joseph Richey
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-07use official heroku autocomplete (#6919)Jeff Dickey
2018-08-07Add support for ForkLift 3 (#6490)Johan Kaving
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-07bundler: allow aliases in `bundle exec`Marc Cornellà
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-07use https everywhere (#6574)Janosch Schwalm
* use https everywhere * use https links on the files that are left Also, removed some broken links and updated redirections.
2018-08-07Add function to search Dash.app (#2557)Tony Lotts
* Add function to search Dash * Pass all arguements instead of just the first * Adding docset completion with help from @kapeli and [arx]
2018-08-07asdf: add Homebrew and completion support (#6749)John Burwell
* Modifies the search logic for asdf to include Homebrew when it is installed. The implementation is adapted from the pyenv plugin.
2018-08-07extract: check file extension as lowercase (#6158)kapsh
Fixes #6157
2018-08-07tmux: fix regression after f584de5Marc Cornellà
Fixes #7041
2018-08-03Merge branch 'apjanke/tmux-detabify-source'Marc Cornellà
Closes #4412 Fixes #4425
2018-08-03tmux: refactor and simplify tmux function logicMarc Cornellà
2018-08-03tmux: refactorAndrew Janke
- 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-03tmux: detabify source codeAndrew Janke
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-02Revert "add -F and -X to default $LESS environment variable (#6611)"Marc Cornellà
This reverts commit 9544316ef95c2aa1e75101a7dce545b4604b3ca6. This setting broke mouse / touchpad scroll on programs using `less` output due to it not using the alternate screen buffer. Fixes #7025
2018-07-29git-prompt: fix error when multiple tags exist (#6998)Thanh Ha
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-29Update z to latest version (#7021)MarkPochert
2018-07-24add -F and -X to default $LESS environment variable (#6611)Lars Schneider
The option '-F' causes 'less' to automatically quit if the contents fit the screen and the option '-X' causes 'less' to not clear the screen after quit. I think both options are generally useful for terminal applications. They are in particular useful for Git as it runs all output through a pager. Git will run 'less' with '-FRX' by default if the environment variable $LESS is not defined [1]. Since oh-my-zsh used to set $LESS to '-R', Git would not override this setting. Consequently, Git would display even a single line of output in a pager and the user would need to explicitly quit that pager (see mailing list discussion [2]). Therefore, lets change the oh-my-zsh default value for $LESS to '-FRX'. This would be useful for oh-my-zsh Git users and likely for users of other applications that use 'less' too. [1] https://github.com/git/git/blob/36438dc19dd2a305dddebd44bf7a65f1a220075b/Documentation/config.txt#L819-L821 [2] https://public-inbox.org/git/2412A603-4382-4AF5-97D0-D16D5FAAFE28@eluvio.com/
2018-07-19example: move example theme to custom folderMarc Cornellà
2018-07-19[plugins/xcode] Fix opening project using a wrong Xcode version (#6829)Thi
2018-07-19Update git-flow-avh to 0.6.0 (#6498)Johan Kaving
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-19updating kube-ps1 to align with upstream changes (#6995)Jon Mosco
2018-07-18bundler: fix bundle version git errorMarc Cornellà
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-13Add support for custom timestamp format in history (#6770)Cristian Consonni
2018-07-12wp-cli: fix README typo for wptu command (#6987)Arun Sathiya
2018-07-11Merge branch 'update/yarn-plugin'Marc Cornellà
2018-07-11yarn: add READMEMarc Cornellà