1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-21 21:30:09 +00:00
Commit graph

5749 commits

Author SHA1 Message Date
Marc Cornellà
ec70c0c393 lib: bind keys to viins and vicmd keymaps and clean up file
Fixes #8468
2020-08-04 17:16:19 +02:00
Marc Cornellà
9703111b82 pyenv: ignore $PATH pyenv if on WSL
This solves the problem where the used pyenv is actually the one in a
Windows folder, instead of in WSL.

Fixes #9034
2020-08-04 15:59:00 +02:00
Marc Cornellà
69a380771e Remove non-existing %p prompt sequence from themes
Fixes #8022
2020-08-04 15:55:04 +02:00
Marc Cornellà
f6bc949c05 lib: substitute COMPLETION_WAITING_DOTS for ellipsis
Closes #8342
2020-08-02 20:49:26 +02:00
Marc Cornellà
4ab273e19a
pipenv: toggle pipenv shell on startup
Fixes #9136
2020-08-01 15:26:02 +02:00
John Welsh
345cb99e5b
colorize: add $ZSH_COLORIZE_CHROMA_FORMATTER config env var (#8824) 2020-07-31 15:56:22 +02:00
Marc Cornellà
8755c5f101 rbenv: fix current_gemset
Fixes #8925
Co-authored-by: Josh Goodall <inopinatus@inopinatus.org>
2020-07-30 18:20:30 +02:00
Marc Cornellà
9521837240 lib: support mlterm-256color
Co-authored-by: Peter J. Schroeder <peterjschroeder@gmail.com>
2020-07-23 12:55:22 +02:00
Amir Tahvildaran
db3d05fe71
aws: improve check for aws_completer - unhardcode path (#9123)
Closes #9122

The current check is assuming that the aws_completer is installed
globally, it then runs the command without that path

I have aws_completer in ~/.local/bin/aws_completer

This changes the check to see if the command exists instead of
concerning itself with where it in installed. This test matches the
behavior of just running the command.
2020-07-18 19:06:08 +02:00
Samuel Terra
a3740c3414
battery: add acpi requirement to README (#9116)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-07-18 18:45:59 +02:00
Thi Doãn
322e592c38
extract: add IPA to extractable filetypes (#9117)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-07-18 16:32:50 +02:00
Marc Cornellà
c99f3c50fa git: go back to previous main branch detection logic
Fixes #9114
2020-07-15 17:02:49 +02:00
Frederick Zhang
ff7618cf74
timer: threshold to show timers only for time-consuming commands (#8151) 2020-07-14 18:53:37 +02:00
Piotr Zając
68b98c9d53
docker-compose: add alias for docker-compose kill (#8997) 2020-07-14 17:40:23 +02:00
Joaquín Moreira
8260005dc7
kubectl: add alias to list pods by namespace (#8604) 2020-07-14 17:39:33 +02:00
Alexander Schaber
93e9b80d3f
httpie: add alias for https (#8032) 2020-07-14 16:50:18 +02:00
M. Yas. Davoodeh
5c1a5c6ce9
update: prefix rm call with command in trap (#9107)
* Suppress the problematic trap output in check_upg

The newly added trap, in systems where `rm` is aliased to `rm="rm -v"`,
shows a message stating that "update.lock" has been removed each time `zsh` is called.
I simply suppressed it with directing the output to `/dev/null`.

* Use `command` instead of >/dev/null to suppress
2020-07-13 11:52:28 +02:00
Marc Cornellà
e3131d98aa
Fix self check link 2020-07-12 16:37:49 +02:00
Džiugas Eiva
71f0189ed5
vscode: add support for VSCodium (#9080)
Co-authored-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-07-11 22:59:58 +02:00
Marc Cornellà
83f6194929 git: change docs for git_main_branch
Also remove unnecesary dramatic remark
2020-07-11 20:18:05 +02:00
Marc Cornellà
55a98fc06d git: better algorithm to decide what's the main branch
Fixes #9103

Co-authored-by: Yufan You <ouuansteve@gmail.com>
2020-07-11 20:02:06 +02:00
Jakob Hellermann
9cdc276496
dotenv: add never option to confirmation prompt (#9102) 2020-07-11 17:34:24 +02:00
Emilien Escalle
7deaff71a2
yarn: add alias for upgrade-interactive to the latest version (#8764) 2020-07-09 15:29:26 +02:00
Veit Lehmann
327ac697c7
mix-fast: add decriptions to mix-fast completions (#8561)
* feat(mix-fast): include desctiptions (#8561)

* feat(mix-fast): improve _mix_generate (no tail, better matching)
2020-07-09 11:23:49 +02:00
Marc Cornellà
1db79f97f5 git: use master if it exists, otherwise use main
See https://github.com/ohmyzsh/ohmyzsh/pull/9049#issuecomment-654537347

Co-authored-by: Yufan You <ouuansteve@gmail.com>
2020-07-09 11:17:07 +02:00
Lutz Horn
d79941b789
aws: allow @ in AWS profiles (#9099)
Fixes #9060 by matching a `@` in the AWS profile name.
2020-07-09 10:43:59 +02:00
Robert Estelle
1c58a746af
lib: safety fix and speed-ups for git.zsh prompt functions (#7804) 2020-07-06 17:31:40 +02:00
Marc Cornellà
d0d01c0bbf lib: prefix diff call with command to bypass diff aliases
See https://github.com/ohmyzsh/ohmyzsh/pull/8807#issuecomment-652697704
2020-07-06 17:17:40 +02:00
MDHD
fd9781b4c7
sudo: make the behavior more in line with expectations (#9047) 2020-07-06 17:13:49 +02:00
Jethro Lee
a8fee4036b
Edit for better consistency in template (#8593) 2020-07-06 17:12:00 +02:00
Larson Carter
7afaee858a
Bug and Feature Request Templates + MLH Theme + Readme (#9068)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
Co-authored-by: Bartek Pacia <barpac02@gmail.com>
2020-07-05 17:59:12 +02:00
Marc Cornellà
a15f0f0e9f cli: beauty touches on 'omz pr test' command 2020-07-03 19:05:40 +02:00
Adam Vandover
3178334a2d
git: change main branch naming scheme (#9049)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-07-03 19:03:04 +02:00
Monson Shao
62648d71bb
lib: enable diff color (#8807) 2020-07-01 20:51:13 +02:00
Kyle Laker
d24a9dbccc
agnoster: fix git working tree check (#9072)
`git rev-parse --is-inside-work-tree` does not have a different exit
code when not within a work tree; the difference is in the output,
either "true" when in a work tree, or "false" when not.

The if was modified similarly to the check for the hide-status config,
which also parses command output rather than exit code.

Co-authored-by: Kyle Laker <klaker@easydynamics.com>
2020-07-01 19:05:53 +02:00
Alex Zdanowicz
232cb19859
install: fix typo (#9069)
Changing 'your' to 'you'
2020-07-01 15:44:14 +02:00
Konstantin Gribov
999d22bb0e
gradle: force --console plain for tasks cache generation (#8731)
Fixes #8730
2020-07-01 15:20:41 +02:00
Patrick Moore
e606ac7051
Handle unset variables in various parts of the codebase (#8944)
DISABLE_UNTRACKED_FILES_DIRTY, DISABLE_AUTO_TITLE, GIT_STATUS_IGNORE_SUBMODULES are not set
Handle these variables not being set with conditional access.

If the user has set -u option to report attempts to use undeclared / unassigned variable, accessing the variables needs to be conditional.
2020-06-30 18:54:27 +02:00
Hélio
c4ac0d43ad
encode64: fix typo in README (#9052) 2020-06-30 18:16:51 +02:00
Larson Carter
ce28ac42c8
Modernize install and update banners (#9045) 2020-06-28 22:06:13 +02:00
Marc Cornellà
97cf0bf4bd update: change dash in function name for sh compat (fixes #9064) 2020-06-28 18:54:59 +02:00
alexagnelli
48b98b957e
update: only update on a valid affirmative input (#9062)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-06-28 18:34:02 +02:00
Fatih Ergüven
6152ac30be
Add new mvn alias for mvn fmt:format (#9053)
* mvn: add mvnfmt alias

* mvn: update README.md
2020-06-25 18:47:30 -07:00
Magnus Boman
cea89f5439
archlinux: fix pacweb breaking when multiple packages found (#9059)
Co-authored-by: Magnus Boman <Kattus@users.noreply.github.com>
2020-06-23 17:57:04 +02:00
joshuashaffer
b706a91917
core: add title support for mlterm (#8303) 2020-06-19 23:16:31 +02:00
Marc Cornellà
8fe48793b5 Deprecate cloudapp plugin (fixes #8966) 2020-06-19 23:10:00 +02:00
Ye Shu
5ffc0d036c
init: don't run update check if DISABLE_AUTO_UPDATE (#9040)
skip the update check at initialization if DISABLE_AUTO_UPDATE is set to true
2020-06-18 10:07:13 +02:00
Marc Cornellà
d47447a5e6
osx: refactor plugin and add a few features (#9026)
Co-authored-by: Capybara <git.capybara@gmail.com>
Co-authored-by: drootang <drootang@users.noreply.github.com>
Co-authored-by: Augusto Souza <augustorsouza@gmail.com>
Co-authored-by: PatrBal <44707588+PatrBal@users.noreply.github.com>
2020-06-17 11:26:39 +02:00
Marc Cornellà
3f6e87df15
init: run update check in the same zsh process (#9019) 2020-06-17 11:23:52 +02:00
Marc Cornellà
db94f60d34
Change Discord invite URL 2020-06-10 19:32:26 +02:00