Peter Kingswell
597092aa83
various important improvements
2021-08-26 17:15:53 -04:00
Peter Kingswell
f93aa9d24b
Merge branch 'master' of git://github.com/ohmyzsh/ohmyzsh
2021-07-15 10:43:47 -04:00
Peter Kingswell
e278d94f6f
important aliases, refactorings, all sorts
2021-07-15 10:36:48 -04:00
Marc Cornellà
e32d4b1e19
fix(lib): remove kubectx stub prompt function from lib
...
Fixes #9974
2021-06-17 18:54:52 +02:00
Stanisław Szydło
5152d381bb
feat(kubectx): adding a new plugin for 'kubectx' ( #6114 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
Co-authored-by: Robby Russell <robby@planetargon.com>
2021-06-13 08:23:13 -07:00
Mitchel Humpherys
f68d65d32a
feat(take): add support to `take' for taking remote urls ( #2029 )
...
Download, extract, and cd into the resulting directory.
Co-authored-by: Mitchel Humpherys <mitchelh@codeaurora.org>
2021-06-11 21:09:08 -07:00
Peter Kingswell
b2a9b62fa5
various updates
2021-04-15 10:40:29 -04:00
Marc Cornellà
02d07f3e3d
fix: use $USERNAME guaranteed to always be defined in zsh
...
Fixes #9701
2021-03-25 12:08:00 +01:00
Cai Cooper
f4c741a1ba
fix(update): don't error on upgrade no-op ( #9685 )
...
* Don't error on upgrade no-op
No error code is required for a non failure scenario.
* Manually check whether changes were pulled in `omz update`
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-03-21 13:37:50 -04:00
Marc Cornellà
edf28b8827
fix(lib): use -N syntax in head and tail to support Solaris ( #6391 )
...
Closes #6391
Co-authored-by: Sergey Mashkov <cy6erGn0m@gmail.com>
2021-03-21 13:37:50 -04:00
Kyle Gerard Felker
b2a1478073
fix(lib): update Emacs terminal detection in title function ( #9577 )
...
Environment variable EMACS was replaced by INSIDE_EMACS
2021-03-21 13:37:49 -04:00
Marc Cornellà
a868b66d2a
fix(CLI): show symlinked themes in omz theme list
2021-03-21 13:37:49 -04:00
Fernando Crespo
a54b2f63b2
feat(CLI): add plugin info subcommand ( #9452 )
...
Co-authored-by: Fernando Crespo <fxcrespo@iMac-44054.local>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-03-21 13:37:49 -04:00
Seamile
7eb0be2b64
fix(lib): mark changes as MODIFIED on 'MM' in git_prompt_status ( #9552 )
...
In the output of `git status -sb`, 'MM' indicates there are both added and modified changes.
This change marks that case as MODIFIED instead of ADDED.
2021-03-21 13:37:49 -04:00
Marc Cornellà
02cf2bbf5c
fix(CLI): properly get zsh command in omz update ( #9558 )
...
Zsh versions older than 5.3 don't have ZSH_ARGZERO, so use an alternative
method to get the zsh command.
Fixes #9558
2021-03-21 13:37:49 -04:00
Marc Cornellà
e6aaf4a60b
chore!: notify breaking change in git_prompt_info
...
BREAKING CHANGE: the git config option to skip running `git_prompt_info` has changed from `oh-my-zsh.hide-status` to `oh-my-zsh.hide-info` (#9188 ).
2021-03-21 13:37:49 -04:00
Bruno Borges
4e0a759f73
feat(lib): show upstream branch in git_prompt_info ( #9188 )
...
Show the remote branch the local branch is tracking if `ZSH_THEME_GIT_SHOW_UPSTREAM`
is set, like so: `ZSH_THEME_GIT_SHOW_UPSTREAM=1`.
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-03-21 13:37:49 -04:00
Marc Cornellà
1818ed6685
feat(lib)!: soft-deprecate upgrade_oh_my_zsh function for everybody
...
BREAKING CHANGE: the `upgrade_oh_my_zsh` function now calls `omz update` directly.
2021-03-21 13:37:49 -04:00
Marc Cornellà
92afc883c4
fix(updater): don't show changelog when running unattended update ( #9495 )
...
Fixes #9495
2021-03-21 13:37:49 -04:00
Marc Cornellà
281a804917
feat(CLI): add --unattended flag to omz update to not reload zsh ( #9187 )
2021-03-21 13:37:49 -04:00
Marc Cornellà
7abef85965
feat(CLI): add omz changelog command
2021-03-21 13:37:49 -04:00
Marc Cornellà
db4435a1e6
fix(updater): correctly restart the zsh session when the update pulled changes
2021-03-21 13:37:49 -04:00
Marc Cornellà
73dcbf6dad
refactor(updater): switch to Zsh execution and fix git remote detection logic
2021-03-21 13:37:49 -04:00
Vlad Korolev
0ab87c26c1
fix(terraform): use faster method to get workspace ( #9709 )
...
Also add tf_prompt_info to the list of prompt functions so theme writers are aware of it
2021-03-08 10:46:42 +01:00
Cai Cooper
6fbad5bf72
fix(update): don't error on upgrade no-op ( #9685 )
...
* Don't error on upgrade no-op
No error code is required for a non failure scenario.
* Manually check whether changes were pulled in `omz update`
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-03-01 08:17:54 +01:00
Marc Cornellà
8b37f817c2
fix(lib): use -N syntax in head and tail to support Solaris ( #6391 )
...
Closes #6391
Co-authored-by: Sergey Mashkov <cy6erGn0m@gmail.com>
2021-01-16 18:59:24 +01:00
Kyle Gerard Felker
c9bf8b4a84
fix(lib): update Emacs terminal detection in title function ( #9577 )
...
Environment variable EMACS was replaced by INSIDE_EMACS
2021-01-07 20:55:18 +01:00
Marc Cornellà
6b57839292
fix(CLI): show symlinked themes in omz theme list
2021-01-05 19:09:57 +01:00
Fernando Crespo
9e5f280f87
feat(CLI): add plugin info subcommand ( #9452 )
...
Co-authored-by: Fernando Crespo <fxcrespo@iMac-44054.local>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-01-03 13:55:57 +01:00
Seamile
88ffc2f666
fix(lib): mark changes as MODIFIED on 'MM' in git_prompt_status ( #9552 )
...
In the output of `git status -sb`, 'MM' indicates there are both added and modified changes.
This change marks that case as MODIFIED instead of ADDED.
2021-01-02 11:57:06 +01:00
Marc Cornellà
0f6836701d
fix(CLI): properly get zsh command in omz update ( #9558 )
...
Zsh versions older than 5.3 don't have ZSH_ARGZERO, so use an alternative
method to get the zsh command.
Fixes #9558
2020-12-31 23:20:24 +01:00
Marc Cornellà
28265812f8
chore!: notify breaking change in git_prompt_info
...
BREAKING CHANGE: the git config option to skip running `git_prompt_info` has changed from `oh-my-zsh.hide-status` to `oh-my-zsh.hide-info` (#9188 ).
2020-12-10 20:48:40 +01:00
Bruno Borges
2f39c68ab0
feat(lib): show upstream branch in git_prompt_info ( #9188 )
...
Show the remote branch the local branch is tracking if `ZSH_THEME_GIT_SHOW_UPSTREAM`
is set, like so: `ZSH_THEME_GIT_SHOW_UPSTREAM=1`.
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-12-10 20:44:08 +01:00
Marc Cornellà
4b7dba5b75
feat(lib)!: soft-deprecate upgrade_oh_my_zsh function for everybody
...
BREAKING CHANGE: the `upgrade_oh_my_zsh` function now calls `omz update` directly.
2020-12-07 20:58:12 +01:00
Marc Cornellà
5a888ff4ac
fix(updater): don't show changelog when running unattended update ( #9495 )
...
Fixes #9495
2020-12-07 20:58:12 +01:00
Marc Cornellà
1aa2b18e29
feat(CLI): add --unattended flag to omz update to not reload zsh ( #9187 )
2020-12-04 12:34:01 +01:00
Marc Cornellà
7712da89ee
feat(CLI): add omz changelog command
2020-11-30 15:48:46 +01:00
Marc Cornellà
e093a4cf62
fix(updater): correctly restart the zsh session when the update pulled changes
2020-11-30 15:48:46 +01:00
Marc Cornellà
889cd7acf3
refactor(updater): switch to Zsh execution and fix git remote detection logic
2020-11-30 15:48:46 +01:00
Peter Kingswell
2f780fb7c5
various improvements
2020-11-24 16:19:40 -05:00
Peter Kingswell
628fe75ce3
merged in master & gfind improvements
2020-11-19 21:01:14 -05:00
Peter Kingswell
6dec4d414f
stuff
2020-11-19 21:01:14 -05:00
Peter Kingswell
d1be9bba2e
some new functions
2020-11-19 21:01:14 -05:00
Marc Cornellà
a3e0f4f2af
fix(lib): make opts local in omz_urlencode to fix scoping bug
...
Fixes error message when using zplug, due to $opts having been declared
as an associative array:
omz_urlencode:2: bad set of key/value pairs for associative array
Fixes #9429
2020-11-09 18:33:59 +01:00
Marc Cornellà
28ed2880c7
Revert "lib: remove share_history"
...
This reverts commit 2376022890 .
Fixes #9430
2020-11-09 12:00:15 +01:00
Marc Cornellà
bad9ee0004
lib: delete zsh session history list
...
NOTE: it still lives somewhere in the current zsh process. Run `fc -P` to
restore it.
2020-10-27 10:33:21 +01:00
Marc Cornellà
3f42700c0d
Revert "lib: treat _ and - as part of a word"
...
This reverts commit 50dc4ab357 .
The community has spoken:
- https://github.com/ohmyzsh/ohmyzsh/issues/9367
- https://github.com/ohmyzsh/ohmyzsh/issues/8743
Fixes #9367
2020-10-21 16:02:34 +02:00
Marc Cornellà
f9f45ca222
lib: follow symlinked plugins in plugin list CLI command
...
See https://github.com/ohmyzsh/ohmyzsh/issues/9087#issuecomment-712460275
2020-10-20 15:57:11 +02:00
Marc Cornellà
7525b1d533
lib: allow bare output in theme and plugins list command
2020-10-18 21:25:03 +02:00
Marc Cornellà
902954d1cc
lib: use column to format plugin and theme list CLI commands
2020-10-18 21:24:48 +02:00