Commit Graph

6160 Commits

Author SHA1 Message Date
Thomas De Backer 12669f29f0
fix(gentoo): fix tab color completion (#9810)
This commit fixes an issue in the gentoo theme introduced in 3bb5e977.
Due to incorrect line width calculations, colors are incorrectly applied
when using tab.

Fixes #9778

Signed-off-by: Thomas De Backer <mosterdt@debacker.me>
2021-04-11 19:40:27 +02:00
Chuck e9f805a3ca
docs(rails): reflect changes to aliases (#9809) 2021-04-11 16:20:11 +02:00
Mario A 6ae78695ef
feat(command-not-found): add support for Termux (#9666) 2021-04-09 21:42:11 +02:00
Marc Cornellà b54a6dab9c
refactor(command-not-found): clean up and reorganize logic 2021-04-09 21:22:25 +02:00
Daniel Wang 8b55fb3b60
feat(command-not-found): add support for Homebrew on Apple M1 (#9797) 2021-04-09 21:22:24 +02:00
Jeff M. Hubbard 9f8801bea6
feat(archlinux)!: remove deprecated commands `aur` and `abs` (#9803)
BREAKING CHANGE: the various update aliases will no longer run `abs` and `aur`, which are either
deprecated or nonexistent. See https://archlinux.org/news/deprecation-of-abs/ for more.
2021-04-09 20:48:24 +02:00
ilter 3f50482674
feat(react-native): add aliases for iPhone 12 (#9792) 2021-04-07 19:53:48 +02:00
Marc Cornellà 615f9dd02b
chore: direct support queries to Discussions 2021-04-06 22:26:57 +02:00
Marc Cornellà 74db9acdb9
chore: I'm dumb 2021-04-06 22:17:17 +02:00
Marc Cornellà 7da330f1bd
chore: fix CONTRIBUTING.md TOC 2021-04-06 22:14:05 +02:00
Marc Cornellà d5e9e8d37b
docs: document commit convention in CONTRIBUTING.md 2021-04-06 22:11:02 +02:00
Marc Cornellà 1670f1cafc
chore: add maintainer for archlinux plugin 2021-04-06 14:52:47 +02:00
ratijas b94bdf8927
feat(archlinux): add support for aura AUR helper (#9467) 2021-04-06 14:51:40 +02:00
Septs 2e487b187e
feat(shell-proxy): enable unexported `DEFAULT_PROXY` setting (#9774) 2021-04-06 14:49:03 +02:00
ratijas 790f185e0f
refactor(archlinux): fix name & scripts; reorder aliases (#9546)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-04-06 12:28:22 +02:00
Max Staff 279212f2cc
feat(theme_chooser): display non-zero exit code (#8428)
Fixes #8427
2021-04-06 12:23:59 +02:00
Stéphane Caron 2d40b562e5
fix(dirhistory): make sure to call built-in zle widgets (#9771)
Without this patch, if the called zle widgets have been redefined this plugin might come into
conflict. Related: #9770.
2021-04-01 00:35:28 +02:00
Marc Cornellà 2b1d412279
fix(git): add `push` or `save` to `gstu` alias (#9766)
Fixes #9766
2021-03-31 11:25:26 +02:00
Marc Cornellà 69507c9518
refactor(adben): refactor theme and degrade gracefully on missing dependencies (#9734) 2021-03-28 15:28:01 +02:00
Marc Cornellà 6e56784179
fix(virtualenv): allow empty prefix/suffix in prompt function (#9763)
Fixes #9763
2021-03-28 15:01:39 +02:00
Luiz Pericolo d8b3e115e9
feat(plugins): add hitchhiker plugin (#5117) 2021-03-27 22:25:22 +01:00
Marc Cornellà 02d07f3e3d
fix: use `$USERNAME` guaranteed to always be defined in zsh
Fixes #9701
2021-03-25 12:08:00 +01:00
Léa Gris 95a06f3927
refactor(installer): fix static analysis warnings (#9529)
* refactor(install.sh): fix static analysis warnings

Clear all warnings and errors raised by shellcheck.net static analysis.

- Replace non-POSIX shell use of `$OSTYPE` by POSIX compliant check on `uname -o`.
- Move variables out of`printf` format string.
- Refactor/simplify string formatters for error and underline.
- Fix expansion of arguments to a single string `$*` rather than individual elements `$@` within the error and underline formatters.

* fix(uname): non-posix -o option

* fix(install.sh): non portable which

Replaced non-portable `which zsh` by portable `command -v zsh`
2021-03-16 00:06:06 +01:00
CrispyConductor 3f34ce4da4
fix(vi-mode): fix keymap indicator on zle-line-finish (#9620)
* Update VI_KEYMAP on zle-line-finish.  Fixes next prompt draw.

* Also fix vi-mode prompt redraw in case previous prompt was canceled

* Do not redraw fix prompt if VI_MODE_RESET_PROMPT_ON_MODE_CHANGE is unset

* Use a local variable instead of global in function
2021-03-15 23:32:49 +01:00
wahjava e5d206c8c8
fix(fossil): PROMPT and RPROMPT are no longer exported (#9655)
Fixes #9654
2021-03-15 23:27:57 +01:00
Will Boyce 0e232d4853
feat(ssh-agent): add `ssh-add-args` setting (#7908)
* ssh-agent: add `:omz:plugins:ssh-agent ssh_add_args` option

* Clean up and document extra setting

* Document valid ssh-add arguments

Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-03-15 22:51:33 +01:00
Dario Vladović 90bdb8a156
feat(fzf): add support for Termux package (#9718) 2021-03-15 22:34:47 +01:00
Piotr Rogoża 9d556cd545
fix(emotty): fix `bad assignment` error (#9714) 2021-03-15 22:27:00 +01:00
John Delgado 040aadf7c4
feat(git): add `grbo` alias for `git rebase --onto` (#8088) 2021-03-15 20:06:01 +01:00
Marc Cornellà e8716cb570
fix(uninstall): fix renaming .zshrc when no original rc file found
Fixes #9629
Fixes #9700
2021-03-15 19:51:31 +01:00
Marc Cornellà 3bb5e97762
feat(gentoo)!: use `vcs_info` to support other VCSs (#9440)
* prettify vcs infomation using `vcs_info`

* Show symbol when there are untracked files in git

Co-authored-by: freeyoung <ourbaozi@qq.com>
2021-03-13 13:51:26 +01:00
Vlad Korolev 0ab87c26c1
fix(terraform): use faster method to get workspace (#9709)
Also add tf_prompt_info to the list of prompt functions so theme writers are aware of it
2021-03-08 10:46:42 +01:00
Cai Cooper 6fbad5bf72
fix(update): don't error on upgrade no-op (#9685)
* 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-03-01 08:17:54 +01:00
Gustavo Bazan 9a9f383192
feat: add mongocli plugin (#9248) 2021-02-20 22:29:54 -08:00
Vikas Raj 27bf831843
[docker-compose] Added alias for docker-compose up --build (#8843)
* [docker-compose] Added alias for docker-compose up --build

Sometimes building images before starting the containers comes in handy.

Alias: `dcupb`
Command: `docker-compose up --build`

* Updated docker-compose/README.md

Added the alias definition in the readme

Co-authored-by: Robby Russell <robby@planetargon.com>
2021-02-20 22:27:27 -08:00
Kartikey Tanna 7a8d89688d
Replce 'rake routes' task with 'rails rotues' (#9662)
* Replce 'rake routes' task with 'rails rotues'

Fixes https://github.com/ohmyzsh/ohmyzsh/issues/9661

* Modified 'rake routes|grep' to use rails
2021-02-20 22:24:21 -08:00
iammordaty f21e646ce6
refactor(git-flow): remove duplicate `gflfp` alias (#9640)
Fixes #9638
2021-02-09 15:00:10 +01:00
Marc Cornellà c52e646bb7
refactor(gallois): clean up theme and fix typos 2021-01-31 19:55:13 +01:00
Aidin Gharibnavaz f75f8bb930
docs(git-prompt): explain stashed icon (⚑) (#9619)
Stashed icon was added in #4880
2021-01-27 17:28:04 +01:00
Marc Cornellà d978f385e5 fix(updater): refresh date of last update only on successful update 2021-01-21 11:52:09 +01:00
Robby Russell cd4918c2cd
Bump year to 2021 2021-01-19 16:48:57 -08:00
Marc Cornellà efcbd9f348 fix(vi-mode): ignore `clip*` function errors in yank and put widgets
Fixes #9605
2021-01-16 22:55:17 +01:00
Sébastien MB 172b32c90d
feat(essembeh): update theme with new features (#9595)
- single line
- quite simple by default: user@host:$PWD
- green for local shell as non root
- red for ssh shell as non root
- magenta for root sessions
- prefix with remote address for ssh shells
- prefix to detect docker containers or chroot
- git plugin to display current branch and status
2021-01-16 21:52:11 +01:00
bullno1 53aefc52e2 feat(plugins): add `zbell` plugin to notify when commands end (#3034)
Closes #3034
2021-01-16 21:43:21 +01:00
deathjest3r 6b0557afe8
feat(plugins): add `term_tab` plugin to complete other zsh sessions' directories (#3018) 2021-01-16 21:27:32 +01:00
Marc Cornellà f484f88b42 fix(debian): add quotes to `kclean` alias (#3066)
Co-authored-by: la-magra <via.magra@gmail.com>
2021-01-16 19:58:29 +01:00
Marc Cornellà 8b37f817c2 fix(lib): use -N syntax in `head` and `tail` to support Solaris (#6391)
Closes #6391

Co-authored-by: Sergey Mashkov <cy6erGn0m@gmail.com>
2021-01-16 18:59:24 +01:00
Arnaud Thimel 47c04d921e feat(git-prompt): display stash count in prompt 2021-01-15 19:03:29 +01:00
Arnaud Thimel 63477411eb feat(git-prompt): display untracked files count
Closes #8435
Closes #4880
2021-01-15 19:02:57 +01:00
Suhas Karanth 5db205908e
chore: caution against `COMPLETION_WAITING_DOTS` in template (#8352) 2021-01-15 16:49:46 +01:00