summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2021-03-08fix(terraform): use faster method to get workspace (#9709)Vlad Korolev
Also add tf_prompt_info to the list of prompt functions so theme writers are aware of it
2021-03-01fix(update): don't error on upgrade no-op (#9685)Cai Cooper
* 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-01-16fix(lib): use -N syntax in `head` and `tail` to support Solaris (#6391)Marc Cornellà
Closes #6391 Co-authored-by: Sergey Mashkov <cy6erGn0m@gmail.com>
2021-01-07fix(lib): update Emacs terminal detection in `title` function (#9577)Kyle Gerard Felker
Environment variable EMACS was replaced by INSIDE_EMACS
2021-01-05fix(CLI): show symlinked themes in `omz theme list`Marc Cornellà
2021-01-03feat(CLI): add `plugin info` subcommand (#9452)Fernando Crespo
Co-authored-by: Fernando Crespo <fxcrespo@iMac-44054.local> Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-01-02fix(lib): mark changes as MODIFIED on 'MM' in `git_prompt_status` (#9552)Seamile
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.
2020-12-31fix(CLI): properly get zsh command in `omz update` (#9558)Marc Cornellà
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-10chore!: notify breaking change in `git_prompt_info`Marc Cornellà
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-10feat(lib): show upstream branch in `git_prompt_info` (#9188)Bruno Borges
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-07feat(lib)!: soft-deprecate `upgrade_oh_my_zsh` function for everybodyMarc Cornellà
BREAKING CHANGE: the `upgrade_oh_my_zsh` function now calls `omz update` directly.
2020-12-07fix(updater): don't show changelog when running unattended update (#9495)Marc Cornellà
Fixes #9495
2020-12-04feat(CLI): add `--unattended` flag to `omz update` to not reload zsh (#9187)Marc Cornellà
2020-11-30feat(CLI): add `omz changelog` commandMarc Cornellà
2020-11-30fix(updater): correctly restart the zsh session when the update pulled changesMarc Cornellà
2020-11-30refactor(updater): switch to Zsh execution and fix git remote detection logicMarc Cornellà
2020-11-09fix(lib): make opts local in omz_urlencode to fix scoping bugMarc Cornellà
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-09Revert "lib: remove share_history"Marc Cornellà
This reverts commit 23760228908d14a4644718869d5ebfb7b0dde6a7. Fixes #9430
2020-10-27lib: delete zsh session history listMarc Cornellà
NOTE: it still lives somewhere in the current zsh process. Run `fc -P` to restore it.
2020-10-21Revert "lib: treat _ and - as part of a word"Marc Cornellà
This reverts commit 50dc4ab3574f4e265dff816d8d9a0195cd260152. The community has spoken: - https://github.com/ohmyzsh/ohmyzsh/issues/9367 - https://github.com/ohmyzsh/ohmyzsh/issues/8743 Fixes #9367
2020-10-20lib: follow symlinked plugins in `plugin list` CLI commandMarc Cornellà
See https://github.com/ohmyzsh/ohmyzsh/issues/9087#issuecomment-712460275
2020-10-18lib: allow bare output in theme and plugins list commandMarc Cornellà
2020-10-18lib: use `column` to format plugin and theme list CLI commandsMarc Cornellà
2020-10-10lib: fix regex bug in git_prompt_statusMarc Cornellà
Fixes #9326
2020-10-10lib: remove share_historyMarc Cornellà
Related: #2537, #9324
2020-10-10lib: fix `omz help` and rewordMarc Cornellà
2020-10-10lib: fix fmt removing ESC characters in theme and plugin list CLI commandsMarc Cornellà
2020-10-09nvm: simplify nvm.sh and bash completion loadingMarc Cornellà
2020-10-09nvm: use `nvm current` in nvm_prompt_info and look in alternate install ↵Andrew Janke
locations This makes it work regardless of where nvm is loaded from. And it uses nvm's version strings, which distinguish the "system" and "none" NVM environments, instead of reporting the specific version of the system node.js or erroring, respectively. Fixes #4336 Closes #4338
2020-10-09lib: fix formatting in `omz pr clean` CLI commandMarc Cornellà
2020-10-09lib: add plugin and theme subcommands and fix `omz pr clean`Marc Cornellà
- Add plugin and theme subcommand Fixes #8961 - Add confirmation prompt to `omz pr clean` command - Correct behavior on invalid answers on confirmation prompts If an invalid option is supplied, don't proceed with the potentially destructive action. Co-authored-by: Rishabh Bohra <rishabhbohra01@gmail.com>
2020-10-09Fix performance drop of iterating over lines and other stuffMarc Cornellà
- Fix 'STASHED' key and unsupported syntax in 5.0.2 - Optimise `if` statement to make it more idiomatic.
2020-10-09git_prompt_status now uses hash lookups instead of multiple grepsBilly Conn
2020-10-09lib: hide git_prompt_status when hide-status is setMichał Dębski
Closes #4912 Closes #5137 Closes #8071
2020-10-08lib: follow standards in window title (#9320)Michele Bologna
In Ubuntu and Debian, in scp, and in rsync the prompt is by default specified as in user@hostname:/path/to/directory while the previous title in ohmyzsh was user@hostname: /path/to/directory
2020-09-29lib: support simple terminal in title functionMarc Cornellà
Fixes #9295
2020-09-28lib: support alacritty $TERM in title functionMarc Cornellà
2020-09-27lib: correct :q syntax in title function for clarityMarc Cornellà
2020-09-26lib: clean up zsh_stats functionMarc Cornellà
2020-09-04lib: treat _ and - as part of a wordMarc Cornellà
Fixes #8743
2020-08-18Remove zsh session restart on omz update and upgrade_oh_my_zshMarc Cornellà
2020-08-17Fix upgrade_oh_my_zsh function deprecationMarc Cornellà
2020-08-06lib: remove CTRL-Backspace key binding altogetherMarc Cornellà
It conflicts with normal Backspace behavior. Fixes #9155
2020-08-05lib: remove CTRL-Backspace binding for vi keymapsMarc Cornellà
2020-08-04cli: add update command (#9094)Dario Vladović
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-08-04lib: bind to all keymaps when COMPLETION_WAITING_DOTS is setMarc Cornellà
Fixes #9050
2020-08-04lib: add CTRL-backspace and CTRL-delete to delete whole wordsMarc Cornellà
Fixes #7609 Closes #8191 Co-authored-by: Michal Grňo <m93a.cz@gmail.com>
2020-08-04lib: bind keys to viins and vicmd keymaps and clean up fileMarc Cornellà
Fixes #8468
2020-08-02lib: substitute COMPLETION_WAITING_DOTS for ellipsisMarc Cornellà
Closes #8342
2020-07-23lib: support mlterm-256colorMarc Cornellà
Co-authored-by: Peter J. Schroeder <peterjschroeder@gmail.com>