Commit graph

5734 commits

Author SHA1 Message Date
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
Marc Cornellà
0f3c424e4c muse: clean up theme 2020-06-10 12:57:01 +02:00
Małgorzata Basińska
da01dc91bf
web-search: add Google Scholar (#9014) 2020-06-10 12:05:12 +02:00
Marc Cornellà
60442dc47b web-search: allow custom search engines 2020-06-10 12:04:14 +02:00
Marc Cornellà
3c777ebf1b
update: refactor and fix logic in check_for_upgrade.sh (#8939) 2020-06-09 19:38:08 +02:00
Marc Cornellà
a2a83be982 smt: fix time since last commit logic
Fixes #5244
2020-06-09 19:36:16 +02:00
Marc Cornellà
374b4e02ef peepcode: add virtualenv prompt and fix git calls 2020-06-08 20:36:27 +02:00
l3nn4rt
e27a6e75cc
chucknorris: normalize apostrophes (#9013) 2020-06-08 13:44:29 +02:00
l3nn4rt
9500b1f894
chucknorris: fix typos (#9012) 2020-06-08 12:59:55 +02:00
Marc Cornellà
94e784360e chucknorris: remove duplicate quotes
Fixes #8998
2020-06-05 13:28:19 +02:00
Marc Cornellà
bed0344627 Merge branch 'ohmyzsh/pull-7157' (#7157)
Closes #7157
2020-06-04 15:51:58 +02:00
Sumit Sahrawat
f23e4912cf Silence non-existent/empty dir errors in fastfile_{sync,ls} 2020-06-04 15:51:48 +02:00
Marco Trevisan
ed4e317bbb
lib: don't override bigger HISTSIZE and SAVEHIST values (#8993)
oh-my-zsh Changes the HISTSIZE and SAVEHIST values to fixed sizes,
however if a bigger value is set in ~/.zshrc, it will override it,
potentially causing the user history to be deleted.

So, only set these values if no other is set and if it is lower than the
default ones.
2020-06-03 19:34:57 +02:00
Marc Cornellà
82f02e80a6 wd: update to latest version (#8530) 2020-06-03 18:36:17 +02:00
Pierre Gimalac
0fd11130a3
web-search: add Wayback Archive (#8784) 2020-06-03 18:28:47 +02:00
Marc Cornellà
aee9e603b4 init: reapply hack for invalid ZSH_COMPDUMP filenames (b8761985) 2020-06-03 17:50:53 +02:00