Marc Cornellà
021f0251e0
fix(updater): make sure to run it with zsh
2020-12-01 11:12:31 +01:00
Marc Cornellà
7712da89ee
feat(CLI): add omz changelog command
2020-11-30 15:48:46 +01:00
Marc Cornellà
eeab4e5186
feat(updater): add changelog display by parsing the commit list
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
Marc Cornellà and GitHub
05e2956dc6
fix(git-auto-fetch): background git-fetch-all and other fixes ( #9468 )
2020-11-26 22:27:07 +01:00
Marc Cornellà and GitHub
d88887195f
fix(magic-enter): fix various bugs in the plugin ( #9466 )
2020-11-25 20:14:28 +01:00
Marc Cornellà and GitHub
dc4692b53e
fix(aws): fix acp function for MFA without role and other fixes ( #9426 )
...
* fix(aws): don't duplicate aws_prompt_info function in RPROMPT
* refactor(aws): clean up logic in acp function and fix session duration input
Fixes #9409
2020-11-10 23:20:51 +01:00
Marc Cornellà
eef04c62c2
fix(installer): fix error message if $ZSH exists when installing
...
Also prefix all formatting functions with fmt_
Related: #9427
2020-11-09 20:06:19 +01: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à
39c79493fe
Add maintainer for aws plugin
2020-10-29 12:22:50 +01:00
Marc Cornellà
63922b5ec4
Fix labels in issue templates
2020-10-28 23:08:19 +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à and GitHub
3b1699b595
npx: deprecate plugin
...
Fixes #9366
2020-10-21 20:01:10 +02: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à and GitHub
7d73908223
fzf: add check for OpenSUSE and OpenBSD packages ( #9327 )
2020-10-20 23:48:59 +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
Marc Cornellà
176376cbc0
kubectl: check for empty cache completion file
2020-10-17 23:14:58 +02:00
Marc Cornellà
53cbd658f5
globalias: use ${(z)var} to split into words using shell parsing
2020-10-14 17:23:03 +02:00
Marc Cornellà
568a977d20
safe-paste: fix _bracketed_paste_zle_init/finish error
...
Fixes #9337
2020-10-13 20:34:01 +02:00
Marc Cornellà and GitHub
1e25abacad
meta: add checklist instructions on Pull Request template
2020-10-13 11:27:14 +02:00
Marc Cornellà and Sean Hellum
2657c87f0a
Add gitpod integration
...
Fixes #8212
Co-authored-by: Sean Hellum <seanhellum45@gmail.com >
2020-10-11 21:30:32 +02:00
Marc Cornellà and GitHub
fd51207701
Remove missing screenshots from kube-ps1 README ( #9199 )
...
Removes missing screenshots from README for kube-ps1 plugin.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com >
2020-10-10 21:43:12 +02:00
Marc Cornellà
6e7b861675
lib: fix regex bug in git_prompt_status
...
Fixes #9326
2020-10-10 19:14:30 +02:00
Marc Cornellà
2376022890
lib: remove share_history
...
Related: #2537 , #9324
2020-10-10 12:38:17 +02:00
Marc Cornellà
75ae0e905f
lib: fix omz help and reword
2020-10-10 12:12:22 +02:00
Marc Cornellà
982d010be5
lib: fix fmt removing ESC characters in theme and plugin list CLI commands
2020-10-10 11:47:09 +02:00
Marc Cornellà
8163f65084
nvm: exit the plugin if the nvm loading script wasn't found
2020-10-09 17:21:03 +02:00
Marc Cornellà
a33c0cdb46
nvm: only lazy-load nvm if the NVM_LAZY setting is set
2020-10-09 17:21:03 +02:00
Marc Cornellà
d8cb670235
nvm: simplify nvm.sh and bash completion loading
2020-10-09 17:21:03 +02:00
Marc Cornellà
fc6c9ca4b4
lib: fix formatting in omz pr clean CLI command
2020-10-09 15:03:03 +02:00
Marc Cornellà and Rishabh Bohra
1bb402190d
lib: add plugin and theme subcommands and fix omz pr clean
...
- 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-09 13:55:56 +02:00
Marc Cornellà
6811a48618
Merge branch 'TheDauthi/enhanced-status-prompt' ( #5531 )
...
Closes #5531
2020-10-09 13:45:29 +02:00
Marc Cornellà
865f6572d5
Fix performance drop of iterating over lines and other stuff
...
- Fix 'STASHED' key and unsupported syntax in 5.0.2
- Optimise `if` statement to make it more idiomatic.
2020-10-09 13:44:50 +02:00
Marc Cornellà
6ebf27b8d3
Revert "Remove redundant bashcompinit calls"
...
This reverts commit f776af2a1f .
Fixes #9314
2020-10-05 17:20:02 +02:00
Marc Cornellà
fbb2b56c7e
fino: stop bold with prompt sequence
...
Fixes weird bug when completing.
2020-10-05 12:05:47 +02:00
Marc Cornellà
c549387745
git: fix version check
2020-10-04 13:09:32 +02:00
Marc Cornellà
89278c71b2
bundler: refactor bundler plugin and clean up gem wrappers
2020-10-03 18:41:42 +02:00
Marc Cornellà
f776af2a1f
Remove redundant bashcompinit calls
...
Fixes #9246
2020-09-30 19:00:51 +02:00
Marc Cornellà
274df9dc29
lib: support simple terminal in title function
...
Fixes #9295
2020-09-29 18:34:35 +02:00
Marc Cornellà
2b59d052ef
composer: autoload cache functions
...
Fixes #9236
2020-09-29 12:06:39 +02:00
Marc Cornellà
4ec055b890
lib: support alacritty $TERM in title function
2020-09-28 22:25:10 +02:00
Marc Cornellà and GitHub
53259f628b
bgnotify: use $2 in preexec hook if $1 is empty
...
Fixes #5803
2020-09-28 12:09:20 +02:00
Marc Cornellà
765966606d
lib: correct :q syntax in title function for clarity
2020-09-27 14:15:50 +02:00
Marc Cornellà
cacf5d0435
Fix image alignment
2020-09-26 13:08:03 +02:00
Marc Cornellà
1be75bbc27
Right-align table in README
2020-09-26 13:07:14 +02:00
Marc Cornellà
671745f496
A few README tweaks
2020-09-26 13:05:31 +02:00
Marc Cornellà
73696c6faa
laravel5: clean up
2020-09-26 12:38:31 +02:00
Marc Cornellà
d14bddf6d7
agnoster: allow disabling AWS prompt with SHOW_AWS_PROMPT=false
...
Fixes #8040
2020-09-26 12:25:30 +02:00
Marc Cornellà
caff704f41
lib: clean up zsh_stats function
2020-09-26 12:17:12 +02:00
Marc Cornellà
bcc859e012
avit: reenable use of $fg instead of prompt sequence colors to fix weird bug
...
Fixes #9232
2020-09-26 12:15:59 +02:00
Marc Cornellà and James Eapen
93c837fec8
random: add ZSH_THEME_RANDOM_QUIET setting
...
Fixes #9180
Co-authored-by: James Eapen <jamespeapen@gmail.com >
2020-09-20 13:41:21 +02:00
Marc Cornellà
38f276a732
docker: document option-stacking setting
...
Fixes #9266
2020-09-18 22:02:10 +02:00
Marc Cornellà
bc9d4b89bb
Remove racially-charged language from the codebase
...
The ZSH_THEME_RANDOM_BLACKLIST variable will be deprecated until it's
removed 2 months from now.
2020-09-18 19:43:44 +02:00
Marc Cornellà and GitHub
8a93c89bda
meta: change support label
2020-09-12 11:59:06 +02:00
Marc Cornellà and GitHub
b3923eded9
meta: change feature label
2020-09-12 11:58:47 +02:00
Marc Cornellà
415be382ca
sublime: add Sublime Text 4 path for macOS
...
Fixes #9153
2020-09-04 22:12:21 +02:00
Marc Cornellà
dc59c661ac
common-aliases: lazily assign $BROWSER, $EDITOR and $XIVIEWER in ext aliases
...
Fixes #9212
2020-09-04 21:56:04 +02:00
Marc Cornellà
50dc4ab357
lib: treat _ and - as part of a word
...
Fixes #8743
2020-09-04 21:54:05 +02:00
Marc Cornellà
28ee5846bb
init: define $ZSH if not defined
...
Closes #9223
2020-09-04 21:50:00 +02:00
Marc Cornellà and GitHub
87edf16e05
Add sponsor button
2020-09-03 21:57:26 +02:00
Marc Cornellà
7256c03ce1
fishy: fix one-level directory bug and bad array assignment in zsh 5.0.1
2020-09-02 15:15:24 +02:00
Marc Cornellà
a7f5170d68
Remove perl dependency
2020-09-01 11:52:32 +02:00
Marc Cornellà
4c9fc2634b
vagrant-prompt: replace grep -P call with sed and clean up
...
Fixes #9207
2020-08-28 23:50:37 +02:00
Marc Cornellà
cfb86cd08d
zsh_reload: use $SHELL to reload zsh only if it's a zsh shell ( fixes #9054 )
2020-08-24 17:48:39 +02:00
Marc Cornellà
03b6a72576
docs: document oneline argument passing to install script
2020-08-20 11:28:10 +02:00
Marc Cornellà and GitHub
79614908ec
meta: don't apply support label on bug reports
...
Enough users have complained about the bug label not being applied instead. If there is no label applied
this won't be complained about so often.
2020-08-20 11:15:48 +02:00
Marc Cornellà
89400f156a
Remove zsh session restart on omz update and upgrade_oh_my_zsh
2020-08-18 19:51:19 +02:00
Marc Cornellà
7deda85f8c
Fix upgrade_oh_my_zsh function deprecation
2020-08-17 22:11:02 +02:00
Marc Cornellà
613045e7e5
Underline links in install and update script
2020-08-17 21:47:39 +02:00
Marc Cornellà
079e7bb5e0
lib: remove CTRL-Backspace key binding altogether
...
It conflicts with normal Backspace behavior. Fixes #9155
2020-08-06 08:55:29 +02:00
Marc Cornellà and GitHub
f2c8b970ee
meta: add ISSUE_TEMPLATE config.yml
...
For now, it only adds a link to the Discord server.
2020-08-05 17:05:53 +02:00
Marc Cornellà
39c0073225
lib: remove CTRL-Backspace binding for vi keymaps
2020-08-05 14:34:14 +02:00
Marc Cornellà
fa5db3444b
wd: fix permissions
2020-08-05 14:20:20 +02:00
Marc Cornellà
81eb208987
wd: update to latest version
...
https://github.com/mfaerevaag/wd/commit/3d20d15d58b9349f872a1abab639aae02374f64c
Fixes #9002
2020-08-05 14:19:48 +02:00
Marc Cornellà
cf347ef3e4
lib: bind to all keymaps when COMPLETION_WAITING_DOTS is set
...
Fixes #9050
2020-08-04 17:30:07 +02:00
Marc Cornellà and Michal Grňo
e04564d528
lib: add CTRL-backspace and CTRL-delete to delete whole words
...
Fixes #7609
Closes #8191
Co-authored-by: Michal Grňo <m93a.cz@gmail.com >
2020-08-04 17:16:54 +02:00
Marc Cornellà
ec70c0c393
lib: bind keys to viins and vicmd keymaps and clean up file
...
Fixes #8468
2020-08-04 17:16:19 +02:00
Marc Cornellà
9703111b82
pyenv: ignore $PATH pyenv if on WSL
...
This solves the problem where the used pyenv is actually the one in a
Windows folder, instead of in WSL.
Fixes #9034
2020-08-04 15:59:00 +02:00
Marc Cornellà
69a380771e
Remove non-existing %p prompt sequence from themes
...
Fixes #8022
2020-08-04 15:55:04 +02:00
Marc Cornellà
f6bc949c05
lib: substitute COMPLETION_WAITING_DOTS for ellipsis
...
Closes #8342
2020-08-02 20:49:26 +02:00
Marc Cornellà and GitHub
4ab273e19a
pipenv: toggle pipenv shell on startup
...
Fixes #9136
2020-08-01 15:26:02 +02:00
Marc Cornellà
8755c5f101
rbenv: fix current_gemset
...
Fixes #8925
Co-authored-by: Josh Goodall <inopinatus@inopinatus.org >
2020-07-30 18:20:30 +02:00
Marc Cornellà and Peter J. Schroeder
9521837240
lib: support mlterm-256color
...
Co-authored-by: Peter J. Schroeder <peterjschroeder@gmail.com >
2020-07-23 12:55:22 +02:00
Marc Cornellà
c99f3c50fa
git: go back to previous main branch detection logic
...
Fixes #9114
2020-07-15 17:02:49 +02:00
Marc Cornellà and GitHub
e3131d98aa
Fix self check link
2020-07-12 16:37:49 +02:00
Marc Cornellà
83f6194929
git: change docs for git_main_branch
...
Also remove unnecesary dramatic remark
2020-07-11 20:18:05 +02:00
Marc Cornellà and Yufan You
55a98fc06d
git: better algorithm to decide what's the main branch
...
Fixes #9103
Co-authored-by: Yufan You <ouuansteve@gmail.com >
2020-07-11 20:02:06 +02:00
Marc Cornellà and Yufan You
1db79f97f5
git: use master if it exists, otherwise use main
...
See https://github.com/ohmyzsh/ohmyzsh/pull/9049#issuecomment-654537347
Co-authored-by: Yufan You <ouuansteve@gmail.com >
2020-07-09 11:17:07 +02:00
Marc Cornellà
d0d01c0bbf
lib: prefix diff call with command to bypass diff aliases
...
See https://github.com/ohmyzsh/ohmyzsh/pull/8807#issuecomment-652697704
2020-07-06 17:17:40 +02:00
Marc Cornellà
a15f0f0e9f
cli: beauty touches on 'omz pr test' command
2020-07-03 19:05:40 +02:00
Marc Cornellà
97cf0bf4bd
update: change dash in function name for sh compat ( fixes #9064 )
2020-06-28 18:54:59 +02:00
Marc Cornellà
8fe48793b5
Deprecate cloudapp plugin ( fixes #8966 )
2020-06-19 23:10:00 +02:00
d47447a5e6
osx: refactor plugin and add a few features ( #9026 )
...
Co-authored-by: Capybara <git.capybara@gmail.com >
Co-authored-by: drootang <drootang@users.noreply.github.com >
Co-authored-by: Augusto Souza <augustorsouza@gmail.com >
Co-authored-by: PatrBal <44707588+PatrBal@users.noreply.github.com >
2020-06-17 11:26:39 +02:00
Marc Cornellà and GitHub
3f6e87df15
init: run update check in the same zsh process ( #9019 )
2020-06-17 11:23:52 +02:00
Marc Cornellà and GitHub
db94f60d34
Change Discord invite URL
2020-06-10 19:32:26 +02:00
Marc Cornellà
0f3c424e4c
muse: clean up theme
2020-06-10 12:57:01 +02:00