Commit graph

6,170 commits

Author SHA1 Message Date
Marc Cornellà
27966adec0 refactor(hanami): change global aliases and clean up README 2021-03-21 13:37:49 -04:00
Marc Cornellà
00e2ff2591 Document fd alias change in README 2021-03-21 13:37:49 -04:00
Rohit Goswami
bf42b991f1 fd: Rework command to be more idiomatic
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-03-21 13:37:49 -04:00
Rohit Goswami
6aa3c97bbf aliases: Don't overshadow fd 2021-03-21 13:37:49 -04:00
Mark Mercado
2e9de78ce4 feat(plugins): add grc plugin for Generic Colouriser (#9315)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-03-21 13:37:49 -04:00
Joseph Heyburn
ac4de0de49 fix(git): silently fail in git_main_branch if not in a git repo (#9484)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-03-21 13:37:49 -04:00
Marc Cornellà
271a607c58 chore: add Josh Medeski as wp-cli plugin maintainer 2021-03-21 13:37:49 -04:00
ratijas
3871488913 refactor(archlinux): prevent leaking local variables (#9476)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-03-21 13:37:49 -04:00
Veesar
c28d02e371 feat(wp-cli): add aliases for DB management (#9469) 2021-03-21 13:37:49 -04:00
Marc Cornellà
1818ed6685 feat(lib)!: soft-deprecate upgrade_oh_my_zsh function for everybody
BREAKING CHANGE: the `upgrade_oh_my_zsh` function now calls `omz update` directly.
2021-03-21 13:37:49 -04:00
Marc Cornellà
f351559580 fix(changelog): fix assoc array syntax for zsh 5.4.2 and older (#9495)
Also fixed a call to a defunct display:type-header function in displaying
breaking changes.
2021-03-21 13:37:49 -04:00
Marc Cornellà
92afc883c4 fix(updater): don't show changelog when running unattended update (#9495)
Fixes #9495
2021-03-21 13:37:49 -04:00
赵崇延
004bcf0cc5 fix(command-not-found): show error in Ubuntu when no package is found (#9418) 2021-03-21 13:37:49 -04:00
Marc Cornellà
23472c9c43 fix(changelog): fix highlight of codeblocks in subject 2021-03-21 13:37:49 -04:00
Marc Cornellà
281a804917 feat(CLI): add --unattended flag to omz update to not reload zsh (#9187) 2021-03-21 13:37:49 -04:00
Marc Cornellà
a9e962fe72 fix(updater): properly show changelog via less 2021-03-21 13:37:49 -04:00
Stimim Chen
2b5f522075 fix(git-prompt): make gitstatus.py python3-compatible (#9186)
check_output() in get_tagname_or_hash() returns bytes instead of str in
python3.  Decode the return value to utf-8, this works in both python2
and python3.

Co-authored-by: Stimim Chen <stimim@google.com>
2021-03-21 13:37:49 -04:00
Marc Cornellà
dc89cdc39c fix(updater): fix ignored variable name in read
I used _ which is a convention in other languages, but in shell scripting
$_ is a special variable set by the shell, and in Zsh versions older than
5.0.6 it complains for being a `read-only variable`.

Fixes #9482
2021-03-21 13:37:49 -04:00
Marc Cornellà
9e61673813 fix(updater): make sure to run it with zsh 2021-03-21 13:37:49 -04:00
Marc Cornellà
7abef85965 feat(CLI): add omz changelog command 2021-03-21 13:37:49 -04:00
Marc Cornellà
d789ddb553 feat(updater): add changelog display by parsing the commit list 2021-03-21 13:37:49 -04:00
Marc Cornellà
db4435a1e6 fix(updater): correctly restart the zsh session when the update pulled changes 2021-03-21 13:37:49 -04:00
Marc Cornellà
73dcbf6dad refactor(updater): switch to Zsh execution and fix git remote detection logic 2021-03-21 13:37:49 -04:00
Marc Cornellà
af206e793c fix(git-auto-fetch): background git-fetch-all and other fixes (#9468) 2021-03-21 13:37:49 -04:00
Marc Cornellà
943b94623d fix(magic-enter): fix various bugs in the plugin (#9466) 2021-03-21 13:37:49 -04: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