Commit graph

4028 commits

Author SHA1 Message Date
Marc Cornellà
22c11da108
fix(fig): fix typo in completion command 2022-01-18 21:26:45 +01:00
Marco Franssen
cddf1b6982
feat(fig): add plugin for Fig (#10432) 2022-01-18 20:57:07 +01:00
Marc Cornellà
957dca698c
style(sudo): clean code style and reorganise logic 2022-01-18 19:03:27 +01:00
Carlo Sala
540b2200af
feat(sudo): respect $SUDO_EDITOR and $VISUAL, switch to sudo -e (#10596) 2022-01-18 18:46:14 +01:00
Marc Cornellà
4f2d8b4d4c fix(kubectl): source completion instead of autoloading it 2022-01-17 16:18:41 +01:00
Marc Cornellà
dfaad779a9 fix(helm): fix completion loading mechanism 2022-01-17 16:18:41 +01:00
Mykola Krachkovsky
1e277553bc
fix(svn): fix sed call in svn_get_rev_nr (#10590) 2022-01-14 15:28:39 +01:00
Marc Cornellà
aaebe4c890
fix(mvn): fix listing modules in completion (#10586) 2022-01-13 14:29:12 +01:00
Carlo Sala
93cea53618
fix(yarn): update completion (#10579)
Fixes #10578
2022-01-12 12:19:34 +01:00
Marc Cornellà
9c84c344d7
fix: disable log.showSignature in git log calls 2022-01-10 19:39:05 +01:00
Joey Territo
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
Fabian Günter
71e6d5fde8
fix(svn): fix output order in svn_dirty_choose (#10572) 2022-01-08 19:59:59 +01:00
Sang-Yun Oh
4e2f4cdf68
docs(vi-mode): fix link typo in readme (#10570) 2022-01-07 17:34:42 +01:00
Marc Cornellà
67cc59b425
style: some code style fixes 2022-01-05 09:23:55 +01:00
Marc Cornellà
7ae4f76f6d
refactor(kubectl): optimize completion generation 2022-01-05 09:23:55 +01:00
Marc Cornellà
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
Marc Cornellà
31d63ea884
fix(kubectx): allow prompt sequences in kubectx_mapping (#10562)
Fixes #10562
2022-01-04 11:53:41 +01:00
Marc Cornellà
a7c46d0ebd
fix(ubuntu): fix defining function based on alias error (#10560)
Fixes #10560
2022-01-03 17:09:59 +01:00
Marc Cornellà
d87ab251c7
fix(kubectx): quote % in kubectx_prompt_info 2022-01-03 14:03:36 +01:00
Marc Cornellà
a280726d93
fix(fossil): refactor fossil_prompt_info and quote % in branch 2022-01-03 14:00:54 +01:00
Marc Cornellà
1c53ef0583
fix(aws): quote % in aws_prompt_info 2022-01-03 13:58:14 +01:00
Marc Cornellà
3e9fe6e772
fix(virtualenv): quote % in virtualenv_prompt_info 2022-01-03 13:50:51 +01:00
Marc Cornellà
e7390a8603
fix(jenv): quote % in jenv_prompt_info 2022-01-03 13:50:51 +01:00
Marc Cornellà
42afa6e2ea
fix(pyenv): quote % in pyenv_prompt_info 2022-01-03 13:50:51 +01:00
Marc Cornellà
93ec48fb0a
fix(svn): refactor and quote % characters in svn_prompt_info 2022-01-03 13:50:50 +01:00
Marc Cornellà
c76dc91e02
fix(svn): return true repo name in svn_get_repo_name 2022-01-03 13:50:50 +01:00
Marc Cornellà
75ed59b7c0
fix(svn-fast-info): quote % characters in svn branch name 2022-01-03 13:50:49 +01:00
Marc Cornellà
ef3a85cd42
fix(svn-fast-info): URL-decode svn branch name 2022-01-03 13:50:49 +01:00
Marc Cornellà
596cef84c7
style(svn-fast-info): fix code style and svn info locale 2022-01-03 13:50:49 +01:00
Marc Cornellà
78c91ccbf9
style(python): fix code style and some hidden bugs 2021-12-31 20:45:12 +01:00
vladislav doster
9c01dbc30b
chore(python): minor corrections on README (#10548)
Closes #10548
2021-12-31 20:19:40 +01:00
Marc Cornellà
376beafd17
docs(zsh-navigation-tools): remove installation steps from README (#10549)
Fixes #10549
2021-12-31 20:01:03 +01:00
scrouthtv
116fc2feaa
fix(systemd): enable --user on restart command (#10543)
`restart` is a unit-related command, not power-related, so it should appear as `sc-restart=sudo systemctl restart` and `scu-restart=systemctl --user restart`
2021-12-30 10:44:57 +01:00
Marc Cornellà
a01cf85627
fix(rust): use default toolchain when completing cargo 2021-12-29 17:18:21 +01:00
Paul Robert Lloyd
4d8d7bed50
docs(nvm): clarify how to get Homebrew directory (#10393) 2021-12-29 16:55:35 +01:00
Marc Cornellà
8b53d04942
docs(sudo): document key binding change 2021-12-29 16:26:35 +01:00
Ian Cowan
8b231f2aa7
chore(ubuntu): add documentation for acsp alias (#10325) 2021-12-29 16:18:16 +01:00
mehdicopter
659dbb5368
feat(terraform): add more aliases (#9989)
Closes #9989
2021-12-29 16:16:20 +01:00
Karn Saheb
0e399d47b9
feat(terraform): add PREFIX and SUFFIX settings to tf_prompt_info (#8605)
Closes #8605
2021-12-29 16:09:21 +01:00
Marijan Smetko
02eb548d5a
feat(python): add utilities to manage simple virtual environments (#9776)
Closes #9776
2021-12-29 15:57:17 +01:00
Celestino Gomes
3e2676f7dc
feat(python): add pyserver alias to start an HTTP server (#10217)
Closes #10217
2021-12-29 15:44:25 +01:00
Marc Cornellà
4ef188cebf
perf(yarn): skip yarn call if default global bin directory exists (#10290)
Fixes #10290
2021-12-29 15:19:59 +01:00
Marc Cornellà
c155531402
chore(bazel): update completion to f146202c 2021-12-29 15:07:52 +01:00
Alex Matheson
ce9104c4f3
feat(npm): toggle npm install / npm uninstall by pressing F2 twice (#9717)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-12-29 14:12:52 +01:00
WH-2099
2acb3071ca
fix(pip): don't overwrite requirements.txt in internal commands (#10061) 2021-12-29 12:55:51 +01:00
Oluwafemi Sule
eec34b32fa
fix(pip): use pip3 in pip3 uninstall completion (#10271) 2021-12-29 12:26:17 +01:00
Marc Cornellà
bc7bc74469
fix(git-prompt): fix clean prompt when stash is not empty (#9978)
Fixes #9978
2021-12-29 11:54:13 +01:00
Björn Daase
7e4273f440
feat(debian): add alu alias for list and upgrade packages (#7928)
Closes #7928
2021-12-29 11:34:38 +01:00
Marc Cornellà
37b278cd03
chore(debian): document previous alias 2021-12-29 11:08:02 +01:00
Shahed Hosseini
b38da62b23
feat(debian): add aar alias for autoremove (#7869) 2021-12-29 10:58:47 +01:00