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

7284 commits

Author SHA1 Message Date
Stephen Gelman
fbccfe80fd Make the agnoster git branch status added in #7209 optional 2024-06-13 19:56:10 -05:00
Stephen Gelman
51d999651d Fix agnoster theming to work with the solarized theme changes 2024-06-13 19:56:10 -05:00
Kilobyte22
3c307e8479 Fixed an artifact from merge and some bugs in agnoster theme
For some reason i forgot to save the file in my editor, leading to the code not working. Luckily i looked through the changed files on github again and i found this. This is what happens if you don't care to actually test your code for once
Due to some more lack of testing i totall missed that my earlier fix did not work. This is now really fixed. (i should not write code when tired.)
2024-06-13 19:22:22 -05:00
Kilobyte22
61af29b967 Agnoster theme now properly handles bare git repos
Up until now the agnoster theme with enabled inline git branch display did not work properly for bare repos.
This was caused by `git rev-parse --show-toplevel` returning empty string for bare repos. In that case it now uses the git directory as root.
Your bare repo should be displayed properly (although you usually won't really navigate through a bare git repo, this is nice to have.
2024-06-13 19:21:53 -05:00
Kilobyte22
1ff9752c26 Fixed git background not showing correctly 2024-06-13 19:21:53 -05:00
Kilobyte
f2eb7138bc Fixed a few colors that were incorrectly set 2024-06-13 19:21:53 -05:00
Kilobyte22
461a18abf6 Changed Agnoster theme for more modularity
The agnoster theme now supports:

* Setting color for all kinds of elements, by setting an appropiate config variable to the color name in your zshrc
  Example: AGNOSTER_GIT_DIRTY_BG=red # Set the git prompt background color to red for dirty repos
* Allowing to separate the git root and the relative path in your prompt by setting AGNOSTER_GIT_INLINE to 'true'
  You will then have a segment for the git root (ie. ~/.oh-my-zsh) followed by the existing git branch segment (ie. master) and
  finally the relative directory path (ie. themes)
* By setting AGNOSTER_STATUS_RETVAL_NUMERIC to 'true', The return value in the status prompt will become a number instead of a cross.
2024-06-13 19:21:39 -05:00
Tim Abell
0c9b42a863
docs(alias-finder): add some examples (#12502) 2024-06-13 18:08:14 +02:00
Nick Glenn
8908e6d720
fix(history): fix logic error in prompt for history -c (#12500)
Logic error in `history -c` when prompting for confirmation caused history
to be deleted when typing anything but explicitly `n`, `N`, or sending `\n`.
New logic prevents deletion by pressing wrong key and only deletes
history when sending `y` or `Y`.

Co-authored-by: Sargates <nicholas.g.glenn@gmail.com>
2024-06-13 09:26:17 +02:00
Nathaniel.Belles
6c021fd432
fix(timer): skip timer after running clear (#12370)
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-06-12 19:07:01 +02:00
Gabriel Charland
11e84bf4f7
feat(shrink-path): allow for showing N last-full elements (#12481)
This commit allows specifying a number of last segments to be fully shown,
either via `-l N` or with `zstyle`.
2024-06-12 18:52:54 +02:00
Mayu Laierlence
6754b7e67b
feat(init): add custom functions and completions to $fpath (#5644)
Closes #5644

Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-06-12 12:30:03 +02:00
Manuel Faux
fee61a7c47
fix(screen): Prevent title being overwritten (#4633)
lib/termsupport.zsh creates titles for screen which take precedence over
titles set by the screen plugin. Unsetting the title() function within
the screen plugin prevent this "race-condition".
2024-06-12 03:19:48 -07:00
Marc Cornellà
35a6725970
fix(history): add warning before deleting command history in history -c (#12472) 2024-06-12 11:04:05 +02:00
Marc Cornellà
59e8e028e1
fix(lib/git): turn off async prompt for zsh < 5.0.6
We removed this mitigation in 0c80a063 because of an assumption
that the issue had been fixed, but it looks like zsh < 5.0.6 has
other issues (see #12360), so we need to disable it for real.

Fixes #12360
2024-06-12 10:32:30 +02:00
Robby Russell
4295aed17b
feat(symfony6): Add plugin for native autocompletion from Symfony 6
This reverts commit 83014bd945.
2024-06-10 16:49:59 -07:00
Robby Russell
83014bd945
Revert "Add plugin for native autocompletion from Symfony 6 (#11999)" (#12493)
This reverts commit 166b9dcfdc.
2024-06-10 16:47:55 -07:00
Malte Schlüter
166b9dcfdc
Add plugin for native autocompletion from Symfony 6 (#11999) 2024-06-10 16:46:33 -07:00
baltic-tea
b7e05f1366
feat(poetry): add aliases (#11858) 2024-06-10 16:45:09 -07:00
Marco Eidinger
6ffdf8e008
feat(swiftpm): update completion for Swift 5.9 (#12044) 2024-06-10 16:40:03 -07:00
Sergey Karpuk
a4304dd7e5
feat(docker): add aliases for docker ps and docker ps -a (#12488) 2024-06-10 16:31:26 -07:00
nitrocode
37f5203abe
feat(terraform): add workspace aliases (#12171)
* feat(terraform): add workspace aliases

* chore: rm aliases in separate pending pr

* docs: show tfiu alias in readme

---------

Co-authored-by: Robby Russell <robby@planetargon.com>
2024-06-10 16:29:57 -07:00
Michal Szymanski
5a5d5eb85b
feat(forklift): add support for ForkLift 4 (#12490) (#12491) 2024-06-10 16:25:53 -07:00
ohmyzsh[bot]
cedbb9e228
feat(history-substring-search): update to 87ce96b1 (#12486)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-06-09 08:43:02 +02:00
Carlo Sala
8510847ff3
fix(bundler): add completion for bundler bin as well
Closes #12482
2024-06-08 13:32:27 +02:00
vincent
4e8099175e
feat(extract): add support for multi-part 7z (#12484) 2024-06-08 10:48:33 +02:00
Martin Bjeldbak Madsen
e898de0664
fix(eza): icons tab completion (#12483) 2024-06-08 10:47:51 +02:00
K.B.Dharun Krishna
efdfe2f29a
feat(golang): add alias for go mod tidy (#12473) 2024-06-04 15:57:08 +02:00
K.B.Dharun Krishna
de2e3d9cd3
docs: reword alternative installer mirror (#12474) 2024-06-04 15:56:34 +02:00
David LJ
e53edd712f
fix(bgnotify): use terminal-notifier args properly (#12467) 2024-06-04 15:55:08 +02:00
EraPartner
228d44d55d
feat(eza): add icons option (#12469)
Co-authored-by: Computer <computer@MAI.local>
2024-06-04 15:54:42 +02:00
Albert
695c7456d1
docs(stripe): fix typo (#12470) 2024-06-03 12:59:01 +02:00
MoetaYuko
56afe7b368
fix(tmux): add completion for alias functions (#12468) 2024-06-03 12:53:27 +02:00
Carlo Sala
e0c6cb1470
chore(yarn): remove unneeded line 2024-05-31 08:55:53 +02:00
Jeroen Claassens
189774c5d0
feat(yarn)!: add optional support for yarn berry (#12374)
BREAKING CHANGE: some `yarn` aliases changed . Please see README for further information.

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-05-30 20:31:39 +02:00
Carlo Sala
2c08d2b842
fix(kubectl): load completion properly in functions
Closes #12427
2024-05-30 20:21:40 +02:00
Lukas Grimm
a4424dfefd
fix(pass): completion for multiple repositories (#12464) 2024-05-30 17:05:50 +02:00
Ian Chesal
071b8f8921
feat(kitty): add plugin for the kitty terminal (#10994)
* A plugin for the Kitty terminal

Provides a handful of useful aliases for anyone working in a Kitty
terminal. In particular, the kssh command is handy for ensuring that
terminfo is set correctly on remote hosts when  you ssh to them.

* Guard kitty configuration

We should only load these aliases into a terminal that's identifying
itself as an xterm-kitty terminal. They're not useful in any other
situation.
2024-05-28 14:40:30 -07:00
theredcmdcraft
5e59d21e54
Add Support for Tabby Terminal in Macos Plugin (#12451)
* Added Support for Tabby in Macos-Plugin

* Update README.md

Added Supported Terminal List

* chore(macos): Update README to link to terminals

Linking to the supported terminals, moving reference to the original author to the Acknowledgements section

---------

Co-authored-by: Robby Russell <robby@planetargon.com>
2024-05-26 12:53:03 -07:00
Jesús Miguel Benito Calzada
1b29fd3a46
feat(git): support stable in git_main_branch (#12447) 2024-05-23 12:51:02 +02:00
Carlo Sala
203369b0f9
ci(dependencies): run on sunday CET morning 2024-05-22 15:36:03 +02:00
Rizky Ilham Pratama
41d2029dec
feat(laravel): add aliases laravel 11 (#12354) 2024-05-22 09:17:06 +02:00
Carlo Sala
c77a01dbe2
Revert "feat(agnoster): add anaconda env information (#12434)"
This reverts commit 309129f651.
2024-05-22 09:15:11 +02:00
robinverduijn
bbfb985359
chore(agnoster): typo (#12437) 2024-05-22 07:39:12 +02:00
danielwerg
dfb436b54a
feat(tldr): add tldr plugin (#12429) 2024-05-21 20:58:43 +02:00
ohmyzsh[bot]
f6b3fc84d1
feat(wd): update to version v0.7.0 (#12436)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-05-21 20:48:54 +02:00
Carlo Sala
04b66b2308
chore(dependencies): PR wording 2024-05-21 20:46:54 +02:00
Carlo Sala
0621944db5
fix(dependencies): only open PR if there are changes 2024-05-21 20:43:26 +02:00
Daniel Ochoja
309129f651
feat(agnoster): add anaconda env information (#12434) 2024-05-21 20:36:07 +02:00
Alessandro Miliucci
a779d6563f
chore(template): propose add .local/bin to PATH (#12417) 2024-05-16 22:13:36 +02:00