1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-01 01:31:13 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
Indrajit Raychaudhuri
775f14d0c3 homebrew: Simplify caching brew shellenv
Avoid checking age of cache file and just test for its existence.
While this is simpler, this also avoids depending on having
`EXTENDED_GLOB` enabled.
2024-04-08 20:48:57 -05:00
Yutian Li
005709d120 Cache brew shellenv results
This could sometimes be slow (as with any external command execution)
but the result should almost never change.
2024-04-08 20:48:57 -05:00
mattmc3
da87c79b3a Add zstyle to skip aliases for additional modules 2023-04-13 09:33:48 -07:00
Indrajit Raychaudhuri
f830065347 homebrew: Add 'brew upgrade' alias for cask
This adds alias for 'brew upgrade --cask' specifically for casks
via alias 'casku' (analogous to 'brewu').
2021-05-02 03:34:45 -05:00
Indrajit Raychaudhuri
3285b33f0c homebrew: Remove wrapper function for deprecation warning 2021-05-02 03:34:45 -05:00
Roman Omarov
9d42feac16 homebrew: cask aliases update 2021-05-02 03:34:45 -05:00
Zac Bergquist
342385618c homebrew: load helper dependency
Updates #1815
2020-04-23 21:21:17 -05:00
Srijan R Shetty
95ff0360ae
fix: regression in homebrew module (#1816) 2020-04-06 02:55:01 -07:00
Kaspar Vollenweider
f4ca9ebfc9 feat(helper): add os-type helper functions
Add the following functions:

- is-darwin
- is-linux
- is-bsd
- is-cygwin

And apply them everywhere I found code doing that what these functions do.
2020-03-19 11:49:11 -07:00
lambdanerd
ed6303c340 homebrew: add alias brewL 2019-10-17 13:59:40 -07:00
lambdanerd
55eb406515 Remove alias for invalid brew cleanup --force
`brew cleanup --force` produces the following error message: `Error: invalid option: --force`. I can't seem to find any record of this being a valid option for the cleanup command, so either it was deprecated in the stone age or it was a simple mistake. However, there is a `--force` option available for `brew uninstall`, but that's a dicey thing to alias.
2019-10-16 09:13:29 -07:00
Indrajit Raychaudhuri
3093f1b966
homebrew: Load 'HOMEBREW_' prefixed variables only
Load 'HOMEBREW_' prefixed variables only. Avoid loading 'PATH'
related variables as they are already handled in standard zsh 
configuration.
2018-12-14 15:40:59 -06:00
Indrajit Raychaudhuri
11184084bc
homebrew: Simplify array assignment
No need for nesting array assignment only to flatten it later.
2018-12-14 15:34:42 -06:00
Indrajit Raychaudhuri
6f603df7a6 general: Miscellaneous documentation updates
- Add missing documentation for options and environment variables
- Rearrange definition and documentation of 'Options', 'Variables'
  and 'Aliases' in a consistent order
2018-10-12 12:04:49 -05:00
Indrajit Raychaudhuri
f366e49c32 homebrew: Cleanup homebrew aliases
- 'brew upgrade' does 'brew update' by default, no need for explicit call
- replace 'brew remove' with 'brew uninstall' for consistency
2018-09-15 13:04:07 -05:00
Indrajit Raychaudhuri
ad861d3b45 homebrew: Replace deprecated casks with their brew counterpart
Homebrew has deprecated `brew cask cleanup` and `brew cask search` in favor
of `brew cleanup` and `brew search` respectively. They will stop working on
2018-09-30. Further, `--outdated` has been removed.

We should eventually remove the related aliases, but for a while we keep
supporting them gracefully with deprecation warning.

The documentation has been removed from README.md, however.
2018-09-15 13:04:07 -05:00
Indrajit Raychaudhuri
2bbf5d0687 homebrew: Load standard Homebrew environment variables into shell session.
However, guard for legacy Homebrew as `brew shellenv` is relatively new.
2018-09-15 09:37:24 -07:00
Kaleb Elwert
2db7f62c2b [homebrew] Add documentation for brewo and casko 2017-07-19 10:41:39 -07:00
Karim Benbouali
46e34d30b8 module(homebrew): add outdated options for cask and brew commands 2017-07-19 08:26:18 -05:00
Andreas Grauel
2ba060a426 update brewu method
Homebrew decided to not change the behaviour of `brew upgrade` so
`brew upgrade --all` is equivalent to `brew upgrade` without any other
arguments (so the `--all` is a no-op and can be removed).
2017-04-03 13:12:15 -07:00
Sorin Ionescu
904c94469e Consolidate brew update and upgrade aliases 2015-05-26 22:12:55 -04:00
Quang-Linh LE
159418835f Add Linux as as requirement 2015-05-25 22:01:57 -04:00
Griffin Yourick
34a50c2550 Add homebrew-cask aliases to homebrew module
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-10 18:51:14 -04:00
Sorin Ionescu
a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
Sorin Ionescu
9d504d2d93 [Fix #411] Add Homebrew module 2013-05-27 17:23:54 -04:00