22c11da108
fix(fig): fix typo in completion command
2022-01-18 21:26:45 +01:00
cddf1b6982
feat(fig): add plugin for Fig ( #10432 )
2022-01-18 20:57:07 +01:00
957dca698c
style(sudo): clean code style and reorganise logic
2022-01-18 19:03:27 +01:00
540b2200af
feat(sudo): respect $SUDO_EDITOR
and $VISUAL
, switch to sudo -e
( #10596 )
2022-01-18 18:46:14 +01:00
4f2d8b4d4c
fix(kubectl): source completion instead of autoloading it
2022-01-17 16:18:41 +01:00
dfaad779a9
fix(helm): fix completion loading mechanism
2022-01-17 16:18:41 +01:00
567bd59395
refactor(cli): use self-referencing in subcommand functions
2022-01-17 13:18:10 +01:00
1e277553bc
fix(svn): fix sed call in svn_get_rev_nr
( #10590 )
2022-01-14 15:28:39 +01:00
035c856c2c
fix: get branch name first in omz version
and changelog
2022-01-13 17:46:09 +01:00
805427e06b
fix(updater): give priority to zstyle
settings if set ( #10587 )
...
Fixes #10587
2022-01-13 17:28:15 +01:00
aaebe4c890
fix(mvn): fix listing modules in completion ( #10586 )
2022-01-13 14:29:12 +01:00
bddecfed58
style(updater): remove statl from git pull
2022-01-13 12:34:10 +01:00
93cea53618
fix(yarn): update completion ( #10579 )
...
Fixes #10578
2022-01-12 12:19:34 +01:00
b481955761
ci(project): fix .list files not found error
2022-01-11 23:40:33 +01:00
c63ba17525
refactor(installer): simplify user_can_sudo
check
2022-01-11 19:53:50 +01:00
a0a949de56
fix(installer): fix sudo
check for users with password or without privileges
...
The previous check only worked if the user could run `sudo` without typing the
password, which is almost none (I checked in Google Cloud Shell so I failed to
notice this).
This new check works whether the user has no sudo privileges, or if it has,
whether they have to type in the password or not.
It should really be easier to check if the user doesn't have privilege without
having to make them type the password.
2022-01-11 19:13:23 +01:00
b7a59e6d5c
fix(installer): run chsh
with sudo if user has privileges
...
This fixes the error in Google Cloud Shell, where a password prompt
appears when running `chsh` but the user (hello) does not have a
password.
If ran with `sudo`, the `chsh` command happens without a password
prompt.
2022-01-11 16:45:36 +01:00
9c84c344d7
fix: disable log.showSignature
in git log
calls
2022-01-10 19:39:05 +01:00
971683762e
fix(avit): disable log.showSignatures
in _git_time_since_commit
( #10072 )
2022-01-10 18:38:35 +01:00
0ca2e48ee8
ci(project): fix gh pr view
call to use ohmyzsh repository
2022-01-10 17:22:31 +01:00
fbdc078fa6
style: use 24bit colors in Oh My Zsh logo if supported
2022-01-09 23:11:35 +01:00
a92ee838f3
fix(cli): follow symlinks in plugin or theme completions
2022-01-09 20:27:22 +01:00
c6e7f8905f
fix(rust): fix cargo
completion when sysroot contains spaces ( #10571 )
...
When generating completions for Cargo, if the Rust sysroot
(i.e. `rustc +${${(z)$(rustup default)}[1]} --print sysroot`) contains
spaces, Cargo completions will not work because the spaces are not
escaped, thus passing two arguments to the "source" command instead of
one. The spaces need to be escaped for this to work.
2022-01-08 20:03:32 +01:00
71e6d5fde8
fix(svn): fix output order in svn_dirty_choose
( #10572 )
2022-01-08 19:59:59 +01:00
4e2f4cdf68
docs(vi-mode): fix link typo in readme ( #10570 )
2022-01-07 17:34:42 +01:00
67cc59b425
style: some code style fixes
2022-01-05 09:23:55 +01:00
7ae4f76f6d
refactor(kubectl): optimize completion generation
2022-01-05 09:23:55 +01:00
d3bb52d7d8
style: declare globals properly
...
By default, `typeset` defines variables locally unless in the main scope.
This is specially bad when using `omz plugin load`, which happens inside
a function, so the declared variables don't continue being defined when
the function finishes and the main scope reappears.
2022-01-05 09:23:54 +01:00
31d63ea884
fix(kubectx): allow prompt sequences in kubectx_mapping
( #10562 )
...
Fixes #10562
2022-01-04 11:53:41 +01:00
a7c46d0ebd
fix(ubuntu): fix defining function based on alias
error ( #10560 )
...
Fixes #10560
2022-01-03 17:09:59 +01:00
8e973d42bd
fix(bureau): fix status
variable name causing error ( #10561 )
...
Also cleaned up the code a bit
Fixes #10561
2022-01-03 17:05:48 +01:00
d87ab251c7
fix(kubectx): quote % in kubectx_prompt_info
2022-01-03 14:03:36 +01:00
a280726d93
fix(fossil): refactor fossil_prompt_info
and quote % in branch
2022-01-03 14:00:54 +01:00
1c53ef0583
fix(aws): quote % in aws_prompt_info
2022-01-03 13:58:14 +01:00
a9d57eb2ee
fix: quote % in box_name
prompt functions
2022-01-03 13:50:52 +01:00
43be5ea321
fix(bureau): quote % in git prompt function and remove global variables
2022-01-03 13:50:52 +01:00
4e777ef9d6
fix(trapd00r): fix potential command injection in zsh_path
2022-01-03 13:50:52 +01:00
9836aebe67
fix(agnoster): quote % in prompt functions
2022-01-03 13:50:52 +01:00
3e9fe6e772
fix(virtualenv): quote % in virtualenv_prompt_info
2022-01-03 13:50:51 +01:00
e7390a8603
fix(jenv): quote % in jenv_prompt_info
2022-01-03 13:50:51 +01:00
42afa6e2ea
fix(pyenv): quote % in pyenv_prompt_info
2022-01-03 13:50:51 +01:00
5b076eab9b
fix(lib): quote % in nvm_prompt_info
2022-01-03 13:50:50 +01:00
304af0a577
fix(lib): quote % in git_remote_status
2022-01-03 13:50:50 +01:00
93ec48fb0a
fix(svn): refactor and quote % characters in svn_prompt_info
2022-01-03 13:50:50 +01:00
c76dc91e02
fix(svn): return true repo name in svn_get_repo_name
2022-01-03 13:50:50 +01:00
75ed59b7c0
fix(svn-fast-info): quote % characters in svn branch name
2022-01-03 13:50:49 +01:00
ef3a85cd42
fix(svn-fast-info): URL-decode svn branch name
2022-01-03 13:50:49 +01:00
596cef84c7
style(svn-fast-info): fix code style and svn info
locale
2022-01-03 13:50:49 +01:00
63345c4e5d
ci: disable GitHub Actions on forks
2022-01-03 13:10:53 +01:00
512839ef78
chore: simplify project GitHub Action
2022-01-03 13:08:29 +01:00