Commit Graph
481 Commits
Author SHA1 Message Date
Koichi Murase cd8b4d2885 completions/{cap,homesick,rake,sdkman,ssh}: Fix coding styles 2023-10-01 04:45:45 +09:00
Koichi Murase e6572f4b85 completions/{cap,homesick,rake,sdkman,ssh}: Change indentation and whitespaces 2023-10-01 03:58:52 +09:00
Koichi Murase 09ffba8f9a completions/sdkman: Add a missing function 2023-10-01 03:58:52 +09:00
Koichi Murase 6fc90b21e8 completions/{cap,homesick,rake,sdkman,ssh}: Rename completion functions 2023-10-01 03:58:34 +09:00
Koichi Murase 24bd7e71ad lib/directories (cd): do not use pushd/DIRSTACK by default
https://github.com/ohmybash/oh-my-bash/pull/450
2023-09-25 01:10:02 +09:00
Richard Kovacs 8e5e43e401 completions/rake: List all tasks (#478)
My rake (13.0.6) generates empty list for completition without the flag `--all`
2023-09-23 18:05:17 +09:00
Shubham Verma 72b8e67139 feat: Add {completions,plugins}/chezmoi (#477) 2023-09-23 18:00:15 +09:00
Andrei Bulgakov b4a2264496 themes: Add powerbash10k theme (#474) 2023-09-16 17:48:55 +09:00
Koichi Murase 4c7a0ebb8d CONTRIBUTING: Make PR branch explicit and describe theme image size 2023-09-14 17:11:53 +09:00
Alex G'h ffd1963875 themes: Add new theme minimal-gh (#468)
* Add theme minimal-gh
* Add minimal-gh in THEMES.md
2023-08-24 17:09:32 +09:00
GR3YH4TT3R93 57c9300c64 aliases/package-manager: Add nala aliases (#463) 2023-08-07 07:49:29 +09:00
Koichi Murase 5b0e804c6b tools/uninstall: Pass -v to unset to avoid ambiguity
`unset -v` is standardized in POSIX.
2023-08-01 17:42:28 +09:00
Koichi Murase 06b459e81f tools/uninstall: Fix uninstall confirmation in non-Bash 2023-08-01 17:42:28 +09:00
Rafael Lopez 9c9c92bf31 themes/agnoster : Detect and show pyenv information (#458)
- if pyenv is not initialized, fall back to the virtualenv detection
 - when pyenv is set to a version other than "system", show the version number
 - when pyenv is in virtulenv mode, also display the virtualenv's name

Co-authored-by: Koichi Murase <[email protected]>
2023-07-26 17:44:51 +09:00
Tim Bentley a75f284ceb aliases/package-manager: Add DNF (dandified yum) aliases (#459) 2023-07-26 08:44:56 +09:00
Ankur Gupta d2d780bbcf themes/kitsune: Fix variable name for python virtual env (#457) 2023-07-25 05:50:20 +09:00
Koichi Murase 5605047f48 themes/kitsune: Add python venv 2023-07-24 06:23:11 +09:00
Ryan Bevin 8e785b1ba1 plugins/git: Add git worktree aliases (#455)
* feat: added git worktree aliases
* feat: updated alias
* feat: update to use common alias name

---------

Co-authored-by: rbevin777 <[email protected]>
2023-07-20 07:03:44 +09:00
Andrei Bulgakov 117e203d38 Add variable to disable consideration repos with untracked files as dirty (#444)
Add `SCM_GIT_DISABLE_UNTRACKED_DIRTY="true"` setting for
`lib/omb-prompt-base.sh`.

Add this variable as well as `SCM_GIT_IGNORE_UNTRACKED` into the
`.bashrc` template.
2023-06-09 06:17:17 +09:00
Joe MacDonald e91797d914 omb-prompt-base: do not attempt to process git vars outside a git tree (#443)
Signed-off-by: Joe MacDonald <[email protected]>
Co-authored-by: Koichi Murase <[email protected]>
2023-05-24 06:35:31 +09:00
Koichi Murase dd7807fcd2 Merge pull request #432 from fox-forks/quoting
fix: Quoting
2023-05-13 23:42:32 -07:00
Tal Lederman bd7b301f64 feat(git.plugin): adding alias to open predefined difftool
Useful for visual side by side diff VIA external difftool. Here is an example for meld: https://stackoverflow.com/questions/2006032/view-differences-of-branches-with-meld
2023-05-13 23:39:40 -07:00
Imran Chaudhry 6d62b33e6e themes: Add new theme "powerline-light" (#436)
Co-authored-by: Koichi Murase <[email protected]>
2023-04-21 08:59:43 +09:00
Koichi Murase 255bacacb5 Merge pull request #433 from hyperupcall/whitespace
style: Remove trailing whitespace and missing final newlines
2023-04-17 05:32:30 -07:00
Koichi Murase 2960ba971f fix(completions/django): Apply upstream changes
https://github.com/django/django/commit/e535da6865f0e02f0b593b52ed2e040b24a886d6
https://github.com/django/django/commit/34057730a55efe31431070c529031ee5a6f7f47b
https://github.com/django/django/commit/4af88ccbe68d6a2a6df428f569deb1f50d826cc7
https://github.com/django/django/commit/2ee1e1a1744c4d0679058124eb7ceba78a0a5a84
https://github.com/django/django/commit/5708327c3769262b845730996ca2784245ada4d1
https://github.com/django/django/commit/90c59b4e12e6ff41407694a460f5f30c4688dbfd
2023-04-16 18:24:07 +09:00
Koichi Murase 3a5b36d614 fix(completions/django): Check Existence of binary 2023-04-16 18:24:00 +09:00
Koichi Murase 7965543018 style(completions/django): Fix style 2023-04-16 18:23:25 +09:00
Edwin Kofler 0c07172c02 fix: Fix quoting
Co-authored-by: Koichi Muarse <[email protected]>
2023-04-16 18:23:22 +09:00
Koichi Murase 475a563280 feat(lib/utils): Add "_omb_util_split" 2023-04-16 18:23:15 +09:00
Edwin Kofler 558cda242d ci: Add disable flags 2023-04-16 17:48:38 +09:00
Edwin Kofler 4f07c58c2c chore: Add .git-blame-ignore-revs 2023-04-16 17:48:38 +09:00
Edwin Kofler 6fe0adcc0a style(tools/uninstall): Correctly restore IFS
Co-authored-by: Koichi Murase <[email protected]>
2023-04-16 17:48:22 +09:00
Edwin Kofler 5cd1f0eb16 style: Remove trailing whitespace and add missing final newlines 2023-04-16 17:43:09 +09:00
Edwin Kofler 3608cd8e4e style: Add formatting rules and action 2023-04-16 17:32:53 +09:00
Dheison Gomes 11ab9e17ea plugins/sudo: Add toggle support (#434) 2023-04-10 09:27:04 +09:00
Koichi Murase b5228038b9 Merge pull request #105 from chaifeng/directories-cd-function
lib/directories: Add `cd` function, a clone of Zsh cd builtin command
2023-04-09 14:25:11 -07:00
Koichi Murase e99fac816a Merge pull request #132 from ngaro/fixls
lib/theme-and-appearance: Fix broken ls-colors
2023-04-09 14:24:39 -07:00
David Dreggors bea5dc9406 lib, themes: Preserve users' PROMPT_DIRTRIM
These changes in "themes/{agnoster,roderik,vscode}.sh" and "lib/shopt.sh" will
allow a user to set the PROMPT_DIRTRIM variable in their .bashrc and change the
prompt path length.

Co-authored-by: Koichi Murase <[email protected]>
2023-04-09 14:23:23 -07:00
Nikolas Garofil 01c9ce00d2 lib/bourne-shell: Switch ls color option based on implementation
Co-authored-by: Koichi Murase <[email protected]>
2023-04-09 23:22:26 +09:00
Koichi Murase 681daf84e7 lib/util: Add "_omb_util_alias_delayed" 2023-04-09 23:21:56 +09:00
Koichi Murase dd20d586da lib/directories (cd): Refactor
* lib/directories (cd): Adjust style of `cd` function
* lib/directories (cd): Use regex to match integers
* lib/directories (cd): Use _omb_util_alias to replace cd
* lib/directories (cd): Update the function description
2023-04-09 22:16:35 +09:00
Chai Feng 618aa82460 lib/directories: Add cd function, a clone of Zsh cd builtin command
* Fix, the `~` in the first item of `DIRSTACK` may not be expanded in Cygwin
  Bash
2023-04-09 22:16:12 +09:00
Koichi Murase 02df6627ae Merge pull request #186 from DTan13/plugins/battery 2023-04-08 15:05:40 -07:00
Koichi Murase b15ef2ddb8 Merge pull request #418 from vicmunoz/sudo_plugin
- plugins: Add plugin "sudo"
- plugins/sudo: Add keybindings following OMZ
2023-04-08 15:00:20 -07:00
Koichi Murase 8be2e7f13e battery.plugin: Refactor 2023-04-09 00:27:34 +09:00
Dhananjay Tanpure 9875246872 plugins/battery: Get battery capacity by /sys/class/power_supply
Reference:- https://www.kernel.org/doc/html/latest/admin-guide/abi-testing.html?#abi-sys-class-power-supply-supply-name-capacity

Co-authored-by: Koichi Murase <[email protected]>
2023-04-09 00:25:51 +09:00
Dhananjay Tanpure ca95a7f8a1 plugins/battery: Get adapter status by /sys/class/power_supply
Reference:- https://www.kernel.org/doc/html/latest/admin-guide/abi-testing.html?#abi-sys-class-power-supply-supply-name-online

Co-authored-by: Koichi Murase <[email protected]>
2023-04-09 00:25:32 +09:00
Koichi Murase 4ad3482985 plugins/sudo: Add keybindings following OMZ 2023-04-09 00:07:34 +09:00
Victor Munoz 47852f487f plugins: Add plugin "sudo" 2023-04-09 00:04:00 +09:00
Koichi Murase 0e9f0e7e7c aliases/general: Avoid using bash-4.0 feature |& 2023-04-06 11:46:04 +09:00