1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00
Commit graph

5189 commits

Author SHA1 Message Date
Robby Russell
6cec86203a
Merge pull request #5714 from dluksza/master
Fix emacs client terminal
2019-02-13 11:21:45 -08:00
Robby Russell
7d6f754b68
Merge pull request #7535 from pahakalle/master
Ads brew cask update to brew plugin
2019-02-12 11:34:22 -08:00
eric-christian
86ea319536 asdf: fix homebrew installation path (#7582)
* The check for the asdf installation directory is more precise:

    The existence of the directory `$HOME/.asdf` does not mean that it is the installation
    directory of `asdf`. It will also be created after installing at least one asdf plugin.

* Completions, while installed with homebrew, are now expected on an alternative location.
2019-02-08 15:14:09 +01:00
Marc Cornellà
052493b1ba z: refresh $RANDOM's value outside subshell
This change references `$RANDOM` outside the subshell to refresh it for the
next subshell invocation. Otherwise, subsequent runs of the function get the
same value and, if run simultaneously, they may clobber each others' temp .z
files.

This is due to how zsh distributes RANDOM values when running inside a
subshell:

  subshells that reference RANDOM will result in identical pseudo-random
  values unless the value of RANDOM is referenced or seeded in the parent
  shell in between subshell invocations

See: http://zsh.sourceforge.net/Doc/Release/Parameters.html#index-RANDOM
2019-02-06 11:57:28 +01:00
genevera
e634730e35
update spotify to newest version 2019-02-05 05:21:37 -05:00
Brian Hong
851899e59e theme/gallifrey: set color to red if root (#6203) 2019-01-31 14:57:37 +01:00
Marc Cornellà
83ce8d05df
transfer: add newline after showing the link
Fixes #7562
2019-01-30 16:35:16 +01:00
Bartlomiej Tartanus
932d611c90 git: properly indent ggfl function (#7556)
Fixes (probably MacOS) issue:
> ggfl
zsh: command not found: ggfl
2019-01-30 16:22:14 +01:00
Gianluca Recchia
308b046875
Use stash 'push' or 'save' depending on Git version
A utility function now parses the output of git --version and set the
alias for git stash to 'git stash push' iff the current version of Git
is greater than 2.13; it falls back to 'git stash save' otherwise.
2019-01-29 04:11:02 +01:00
Erwan ROUSSEL
ea6ec09b9c cake: add README (#7473) 2019-01-25 12:16:20 +01:00
Jesse Farinacci
12c516822c
add brew install path to search
recent `brew install jenv` installs to `/usr/local/bin/jenv`, auto-discover it for recent brew installs to avoid secondary, slower search
2019-01-22 10:09:07 -05:00
Marc Cornellà
c494869632
ssh-agent: check for loaded id filenames first (#7521)
This change makes the plugin check if an identity is loaded by looking
first at the key filename reported by `ssh-add -l`. This fixes the use
case where ssh-keygen is not able to output the fingerprint of a key,
such as the one reported on #7516.

Now, for an identity to be passed onto ssh-add, it has to fail the
match for a loaded identity, both filename and signature.
2019-01-21 20:31:30 +01:00
Z.Shang
bf4937270a Merge branch 'master' of https://github.com/Z-Shang/oh-my-zsh 2019-01-22 04:50:40 +11:00
Z.Shang
fcf1fe72c0 init ros plugin 2019-01-22 04:49:21 +11:00
Rehan Mahmood
b9670d0409 template: change plugins definition to single line (#7498) 2019-01-20 20:31:23 +01:00
neeasade
3c16466a14 git: quote branch name in ggpull and ggpush (#7472) 2019-01-20 20:19:07 +01:00
Marc Cornellà
6db298c57a
misc: remove please alias to sudo
Fixes #7527
2019-01-20 17:20:26 +01:00
pahakalle
7dab4f07e6 Added brew cask update 2019-01-20 04:24:52 +02:00
Marc Cornellà
9d1dd24e35
ssh-agent: add default keys if no zstyle identities were set (#7520) 2019-01-19 18:00:04 +01:00
Ing. Jan Kaláb
586ca16902 extract: add AAR Android archive support (#7511) 2019-01-15 19:03:07 +01:00
Jackson Delahunt
026e4e499e installer: make TEST_CURRENT_SHELL use basename (#7514)
Fixes #7492
2019-01-15 19:01:34 +01:00
Andreas
9329efd252 ssh-agent: autoload identities in one go (#7507)
With this PR the ssh-agent plugin loads all identities which are not yet
loaded in a single call to ssh-add. If a passphrase is shared between
loaded identities it only needs to be entered once.

Fixes #7506
2019-01-14 16:42:14 +01:00
François Scala
2a60385659 ssh-agent: use key signatures to check loaded ids (#7504)
Use fingerprint of ssh key instead of file name to control if the key is already loaded.

Also check for .ssh folder presence (#5128)
2019-01-14 16:38:45 +01:00
Marc Cornellà
fabee55948
ssh-agent: autoload identities not already loaded (#7174)
With this PR the ssh-agent plugin checks the `ssh-add -l` output for the
identities added, and adds all those specified by the user that haven't been
added yet.

We also decouple the logic of starting ssh-agent from the logic of adding
identities, meaning that even if ssh-agent has been started by some other means
(like launchd) we can still ssh-add the user's identities.

Fixes #3019
Fixes #6979
2019-01-09 21:19:52 +01:00
Yusuf Kocaman
d8c71bbce1
added details about kcn and kres 2019-01-07 17:35:39 +03:00
Yusuf Kocaman
2596aef866
added change namespace and rolling restart functions for kubectl 2019-01-07 17:24:44 +03:00
Robby Russell
a29950146b
Merge pull request #7386 from deepan10/features/ansible-plugin
ansible plugin added
2018-12-31 11:18:24 -08:00
Robby Russell
8961fda153
Add keychain plugin (#7385)
This plugin integrates the Keychain tool[1] in to the project.

[1] [keychain](https://www.funtoo.org/Keychain)
2018-12-31 11:17:29 -08:00
Anton Stamenov
0cc1266c17 aws_porfiles regex is catching more lines than profiles, thus breaking completion (#7469) 2018-12-31 11:15:56 -08:00
Alexander Huynh
3c3766fdf5 Provide even spacing between marks (#7456)
Before, when typing the `marks` command, longer mark keys would cause
the tabs to spill over to the next tab stop, like so:

    rc      -> /home/ahlex/.rc
    repos   -> /home/ahlex/repos
    a-longer-string         -> /tmp

Implement better key display by running through all of the marks twice,
once to get the longest key length, and the second time to format
everything according to that length:

                 rc -> /home/ahlex/.rc
              repos -> /home/ahlex/repos
    a-longer-string -> /tmp
2018-12-31 11:15:14 -08:00
Ben Davies
d0c06d9ec8 added svcat plugin (#7452)
Including a Kubernetes Service Catalog plugin
2018-12-31 11:14:22 -08:00
Andrew Imeson
64976138b6 Add new vagrant commands (#7455)
* vagrant: Add `cloud` subcommand to completion

* vagrant: Add `port` subcommand to completion

* vagrant: Add `validate` subcommand to completion
2018-12-31 11:13:31 -08:00
Aurélien Bourdon
e0ee79f2bc Remove duplicate space on the maran theme (#7454) 2018-12-31 11:12:55 -08:00
Patrick Artounian
990104730c Update docker plugin from upstream docker/cli (#7470) 2018-12-31 11:12:34 -08:00
Antu Acharjee
722af459fd Added stackoverflow in /plugins/web-search/-web-search 2018-12-20 10:41:33 +06:00
Antu Acharjee
a244d47131 Added stackoverflow in /plugins/web-search/-web-search 2018-12-20 10:25:36 +06:00
Frederick Zhang
cf07fe2c6f -r is not available for bsd sed 2018-11-28 14:50:45 +11:00
Igor Kapkov
2614b7ecdf osx: fix rmdsstore function definition (#7443) 2018-11-27 22:58:36 +01:00
Sagar Patil
0a59baf4c5 debian: add README (#7438) 2018-11-27 22:57:07 +01:00
Marc Cornellà
e780209c33
tmux: use $terminfo to avoid echoti errors
See https://github.com/robbyrussell/oh-my-zsh/issues/7407#issuecomment-441665143
2018-11-26 19:57:52 +01:00
Ricardo Seriani
e8aba1bf59 golang: support "go help environment" in autocompletion (#7404)
Signed-off-by: Ricardo Seriani <ricardo.seriani@gmail.com>
2018-11-16 22:53:29 +01:00
Marc Cornellà
ad69c7a82f fabric: rename completion back to _fab
Fixes #7405
2018-11-16 18:55:07 +00:00
Marc Cornellà
b1424e2893
tmux: use echoti instead of tput for FreeBSD compatibility
Fixes #7407

FreeBSD's tput needs termcap codes instead of terminfo capnames, so using `tput colors`
has the wrong effect. See #7407
2018-11-16 19:40:06 +01:00
Marc Cornellà
3d8f2bda59
Revert "transfer: add deprecation notice (#7372)" (#7402)
This reverts commit 05b617066b.
2018-11-13 10:54:33 +01:00
Deepankumar
209f1aa8d6 ansible plugin added 2018-11-03 17:34:04 +05:30
Arvindraj
05b617066b transfer: add deprecation notice (#7372)
Fixes #7371

Signed-off-by: Arvindraj <arvindultimate7352@gmail.com>
Co-authored-by: Stephen Ward <stephen@whilenotzero.com>
2018-11-02 17:40:13 +01:00
Joseph Benden
95a3b27680 Add keychain plugin
This plugin integrates the Keychain tool[1] in to the project.

[1] [keychain](https://www.funtoo.org/Keychain)
2018-11-01 15:07:58 -07:00
Erwan ROUSSEL
fa9d93008b fabric: add README (#7378) 2018-11-01 16:40:31 +01:00
Erwan ROUSSEL
545446a3db cpanm: add README (#7377) 2018-11-01 15:42:18 +01:00
Erwan ROUSSEL
5c91cfcb06 capistrano: add README (#7376) 2018-11-01 15:29:05 +01:00