1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00
Commit graph

4554 commits

Author SHA1 Message Date
Marc Cornellà
f898ada8e3 open_command: fix and improve command for WSL
- Add double quotes to command so that the next argument isn't
  interpreted as the title for the start command.

- If the first argument is a valid path, convert it to Windows path
  notation. If `wslpath` fails—because it's a path from inside WSL,
  which cannot be converted to Windows path notation— fail with an
  error code.

  This last circumstance will show an error like so:

    wslpath: path: Result not representable
2018-06-30 21:13:08 +02:00
Marc Cornellà
12086593a4 open_command: simplify code 2018-06-30 21:13:08 +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à
be3f96908e Merge branch 'origin/refactor-rand-quote-plugin' 2018-06-29 18:18:00 +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
Chao Du
e96a7b728a migrate .zsh-update file 2018-06-15 23:43:21 +02:00
Chao Du
de8299d6c4 Fixed Issue #4550: Move ~/.zsh-update file to $ZSH_CACHE_DIR 2018-06-15 23:43:21 +02:00
Marc Cornellà
e96ca34501 Merge branch 'update-meteor-plugin'
Closes #3767 (incorporates some of its changes)
2018-06-15 23:07:06 +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
Marc Cornellà
08153ff526
Use https everywhere in the README 2018-06-15 18:55:39 +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
Dan Wallis
fec0089cdd Quote $ZSH where necessary in install script (#6587)
Quote $ZSH where necessary in install script
2018-06-13 02:02:48 +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
Andre Figueiredo
019e0d7c71 fix(typo) (#6905)
*trupd* for "trizen -Sy" fixed to *trupg*
2018-06-10 18:55:47 +02:00
Marc Cornellà
f461d21de1
virtualenvwrapper: set $WORKON_HOME if undefined
This uses the default that virtualenvwrapper.sh would set if it was called. If the user
changes its value after the plugin is loaded, the plugin will work all the same.

Fixes #6882
Closes #6870
Closes #6883
2018-06-06 17:14:19 +02:00
Paul Ossenbruggen
6ace3cd18d add xx command to Xcode plugin. Allows quick opening of files in Xcode. (#6812) 2018-06-05 06:37:20 -07:00
Marc Cornellà
ebda8af870
Clarify ssh-agent settings position 2018-05-28 17:09:53 +02:00
Michael Fladischer
ce2890bef9 [plugins/vundle] Use HTTPS to clone repository. (#6857)
The git protocol is likely to be blocked in some networks while HTTPS usually
works.
2018-05-28 11:23:05 +02:00
Erwan ROUSSEL
8bbef9180e Npm's plugin documentation (#6864)
* Documentation for Npm plugin added

* Fix style and add alias descriptions
2018-05-26 22:22:22 +02:00
Marc Cornellà
62f676116e
Merge pull request #6863 from robbyrussell/fix-compfix-loading
compfix: better error message and loading of completions
2018-05-26 21:35:39 +02:00
Marc Cornellà
b91659951e Always load secure completion directories 2018-05-26 21:33:49 +02:00
Marc Cornellà
77b924b839 Give more helpful message and disable purge of caches
This error message will give information on what exactly has happened
and how to either solve ownership and permissions or disable the check
entirely.

Also gets rid of the purge of compinit caches since with the current
logic insecure completion directories are ignored and therefore haven't
tainted the cached files.
2018-05-26 21:33:24 +02:00
Lorenzo Bolla
90a5bd06ca Prefer virtualenvwrapper_lazy (#6842)
This gives much faster start up times and only loads virtualenvwrapper
when needed.

Fix #6839
2018-05-26 20:44:49 +02:00
Marc Cornellà
5896c87155
shrink-path: match only the beginning of the directory (#6862)
Fixes #6317
2018-05-26 19:31:17 +02:00
Marc Cornellà
2294bae06a Merge branch 'shrink-path-chpwd-fix'
Closes #5930.
2018-05-26 19:07:46 +02:00
Kaleb Elwert
66cb4005ab Update shrink-path to use cd -q for bypassing the chpwd callbacks 2018-05-26 19:05:01 +02:00
Marc Cornellà
c09783c255 Revert "unset chpwd_functions before running cd ... (#6830)"
This reverts commit 3dab7e46e8.
2018-05-26 19:02:03 +02:00
Pooya Parsa
d6aeaad83d [plugin] update NPX docs (#6849) 2018-05-26 18:39:32 +02:00
Marc Cornellà
957eb77239
Merge pull request #6844 from lbolla/Issue6843
Cache kubectl completion script to file to speed up sourcing
2018-05-26 18:32:13 +02:00
Marc Cornellà
9b11b7e938
Update logic to follow npm plugin convention 2018-05-26 18:25:47 +02:00
Marc Cornellà
5421650c81
Merge pull request #6860 from nrobinson2000/patch-1
Remove po alias
2018-05-26 15:38:21 +02:00
Nathan Robinson
de8ef8286a
Remove po alias
https://github.com/robbyrussell/oh-my-zsh/issues/6761
2018-05-25 23:46:18 -04:00