1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 08:10:08 +00:00
Commit graph

6939 commits

Author SHA1 Message Date
Albin Kauffmann
0116f784f8 feat(scw): allow to set profile to "default" 2023-07-05 14:19:59 +02:00
Albin Kauffmann
10621789af docs(scw): fix and reindent README file correctly 2023-07-05 11:48:42 +02:00
alysscendre
96d7c9fd57 docs(scw): update scw-plugin README.md 2023-06-30 16:04:21 +02:00
Albin Kauffmann
d96afac8d0 feat(scw): add a scw_upgrade command
Upgrade can only be used if scw is installed under the $HOME.
2023-06-30 14:42:13 +02:00
Albin Kauffmann
62bc41d615 feat(scw): export other SCW_* vars based on the selected profile
This commit makes the `ssp` command also export the following
variables:
- SCW_DEFAULT_ORGANIZATION_ID
- SCW_DEFAULT_PROJECT_ID
- SCW_DEFAULT_REGION
- SCW_DEFAULT_ZONE
- SCW_API_URL
- SCW_ACCESS_KEY (only exported if SCW_EXPORT_TOKENS set to "true")
- SCW_SECRET_KEY (only exported if SCW_EXPORT_TOKENS set to "true")
2023-06-30 10:11:32 +02:00
Albin Kauffmann
974a12e83a feat(scw): display the current profile in the prompt 2023-06-30 10:11:30 +02:00
Albin Kauffmann
9acee1babd feat(scw): add new functions to handle profiles
This commit adds the following commands:
- ssp (Scaleway Set Profile) allows to set the current SCW_PROFILE
- sgp (Scaleway Get Profile) allows to show the current SCW_PROFILE
- scw_profiles allows to list available profiles

Completion and error handling is supported for the ssp command.
2023-06-30 10:11:24 +02:00
Albin Kauffmann
c22e5518ae fix(scw): Trash legacy completion support and use the new completion mechanism 2023-06-30 10:10:59 +02:00
Matthias Heyman
54779e5250
fix(jira): support identifiers delimited with a hyphen (#11782)
Co-authored-by: Matthias Heyman <matthias.heyman@ebo-enterprises.com>
2023-06-29 13:29:14 +02:00
Andrei Polushin
73c4764e78
fix(docker): use docker --version instead of docker version
`docker version` subcommand is able to return both docker client and
docker daemon information.  To get a daemon version, it connects to a
possibly remote daemon.  If the remote daemon is not accessible, the
client waits for some time, until it gets interrupted by timeout.

As a result we can have a docker client running in background. When zsh
session is rather short, a terminal application (iTerm2) starts asking
if that background docker process should be stopped.

On the other hand, to get a docker client version only, we can use
`docker --version` instead. It does not connect to a daemon.

Closes #11780
2023-06-29 13:26:08 +02:00
Carlo Sala
723af07a56
fix(docker): add static completion script 2023-06-29 13:25:05 +02:00
Devraj Mehta
8cbe98469d
fix(git): remove color codes from some aliases (#11770) 2023-06-26 19:05:22 +02:00
Richard Mitchell
d5f1f50ad2
docs(git-extras): clarify readme (#11776) 2023-06-26 10:48:17 +02:00
Gustavo Perdomo
22e710b4e4
fix(gcloud): add support for brew installations (#11772) 2023-06-26 10:35:38 +02:00
Haltarys
8a6fc5c16d
fix(docker): use command docker (#11766) 2023-06-20 22:27:14 +02:00
Carlo Sala
b5be2d39e2
fix(nvm): disable lazy-loading if autoload is set
Closes #11748
2023-06-20 09:36:11 +02:00
Carlo Sala
4ba17232da
feat(nvm)!: remove soft-deprecated code
BREAKING CHANGE: $NVM_LAZY, $NVM_LAZY_CMD, AND $NVM_AUTOLOAD cannot be
used anymore to tweak nvm plugin. Use zstyle-based configurations
instead.
2023-06-20 08:54:37 +02:00
kang
8ace453f37
feat(git-extras): update completion (2023-06-19 3a258cb)
Closes #11712
2023-06-20 08:50:34 +02:00
WH-2099
c0e811c90d
perf(archlinux): improve paclist performance (#11764) 2023-06-19 12:32:37 +02:00
Ihor
f5cb9a6c97
fix(git): gunwipall now only resets once (#11758)
Closes #11750 

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-06-17 13:28:55 +02:00
rfigueroa
42b86327ed
fix(mvn)!: rename mvnd to mvndp alias (#11756)
BREAKING CHANGE: Rename alias to prevent conflicts with Apache Maven Daemon.
2023-06-16 09:52:12 +02:00
Carlo Sala
6bffaab290
fix(docker): only generate completion for docker >23 (#11754) 2023-06-15 20:06:56 +02:00
Carlo Sala
68f3ebb4de
feat(docker): generate completion function
Closes #10825
Closes #10912
Closes #11751
2023-06-15 11:17:27 +02:00
Josh Powell
b1b3a020ec
feat(rails): add some aliases (#11739) 2023-06-15 11:03:45 +02:00
Oleg Voronkovich
14f0f2971f
feat(brew): autoconfigure completions (#11152) 2023-06-15 11:01:02 +02:00
Marc Cornellà
cb8b677488
fix(termsupport): don't report current working directory in SSH sessions (#11703) 2023-06-11 17:02:48 +02:00
Marc Cornellà
50c678687e
fix(termsupport): fix pwd report for Konsole (#11730)
The Konsole terminal shows an error if the host is provided in the
OSC 7 sequence.

Fixes #11730
2023-06-08 18:48:32 +02:00
Carlo Sala
46c70406dd
feat(nvm): add npx to lazy trigger list
Closes #11740
2023-06-07 18:43:47 +02:00
Ihor
115cee1701
feat(git): add gunwipall function (#11725)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-06-05 10:38:54 +02:00
Carlo Sala
d1c64bfda3
fix(autoenv): typo 2023-06-05 10:26:36 +02:00
Diego Costa R
b36c90d9ab
feat(autoenv): macOS compatibility, add more dirs (#11724)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-06-05 10:25:17 +02:00
Lawrence Shah
62ab5406dd
docs(custom): update comments in example files (#11727) 2023-06-05 10:20:32 +02:00
Carlo Sala
6101106916
feat(install): deploy installer to install.ohmyz.sh (#11722)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-06-02 21:37:48 +02:00
William Snyders
0024107310
fix(gcloud): update AUR default location (#11718) 2023-05-31 23:59:41 +02:00
Tom D
fb4213c34f
perf(git): improve gunwip alias (#11714) 2023-05-26 09:43:17 +02:00
WH-2099
5901f30b44
feat(archlinux): optimize paclist and pacdisowned (#11398)
Co-authored-by: ratijas <me@ratijas.tk>
2023-05-25 12:43:01 +02:00
rogarb
ec369bb38e
fix(bureau): properly display git stash info (#11711) 2023-05-24 14:32:26 +02:00
Felipe Francisco
1bbe4d8d24
feat(half-life): add virtualenv prompt (#11708) 2023-05-23 08:46:46 +02:00
Carlo Sala
902b79e635
fix(functions): use command env
Closes #11709
2023-05-23 08:43:49 +02:00
rogarb
444e715766
feat(bureau): ignore hidden git repos (#11707)
The git_prompt_info() function in lib/git.zsh ignores git repos which
contains a specific config key, allowing to effectively "hide" them from
the prompt. Unfortunately, the bureau theme doesn't use the library
function to build its prompt.

This commit modifies the specific prompt generation function in the
bureau theme in order to achieve the same behaviour.
2023-05-22 12:49:10 +02:00
Marc Cornellà
b06663df23 feat(extract): add support for .zlib and .exe files (#11085)
Fixes #11085
2023-05-21 21:05:14 +02:00
Marc Cornellà
3a01d7df82 fix(extract): fix extract dir naming conflicts
Fixes #11642
2023-05-21 21:05:14 +02:00
Craig Furman
bfeeda1491
docs(theme-and-appearance): fix gnu-ls snippet (#11701) 2023-05-21 12:47:38 +02:00
Joe
7a030f6bd6
docs(pyenv): warn about pyenv init (#11692) 2023-05-15 15:27:31 +02:00
ZYX
f01eea76da
fix(aws): use the correct variable to assert region is defined (#11691) 2023-05-12 11:42:30 +02:00
roodkcab
aab3bfff9f
fix(robbyrussell) multiline command editing (#11681)
Co-authored-by: chenshuoshi <chenshuoshi@inagora.cn>

Closes #11680
2023-05-09 12:27:22 +02:00
Carlo Sala
aaf83d37aa
docs(theme-and-appearance): reflect properly dcff7a7 changes 2023-05-09 12:10:05 +02:00
Carlo Sala
dcff7a7f08
fix(theme-and-appearance): make bsd ls to be default 2023-05-09 12:05:15 +02:00
Mark Keisler
017e288560
fix(aws): correct access key disable command (#11671) 2023-05-06 13:40:06 +02:00
Carlo Sala
c5208867f1 feat(theme-and-appearance): allow disabling gnu-ls in bsd
To disable gnu-ls (`gls`) even if it's installed in freeBSD and macOS
you can set it up with:
```zsh
zstyle ':omz:lib:theme-and-appearance' gnu-ls no
```

Closes #11647
2023-05-06 13:39:01 +02:00