Commit Graph

566 Commits

Author SHA1 Message Date
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 <rbevin7@gmail.com>
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 <joe.macdonald@siemens.com>
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
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 <myoga.murase@gmail.com>
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
e535da6865
34057730a5
4af88ccbe6
2ee1e1a174
5708327c37
90c59b4e12
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 <myoga.murase@gmail.com>
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 <myoga.murase@gmail.com>
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 <myoga.murase@gmail.com>
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 <myoga.murase@gmail.com>
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 <myoga.murase@gmail.com>
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 <myoga.murase@gmail.com>
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
Koichi Murase
08d019bd10 Merge pull request #430 from mihir3445/master
The `agnoster` theme out of the box reports "command not found"
2023-04-05 01:56:45 -07:00
Koichi Murase
d7993748b0 themes/doubletime: Fix "command not found" error caused by #118 (Fix #429)
This is a regression by PR #118 on GitHub [1].

[1] https://github.com/ohmybash/oh-my-bash/pull/118.
2023-04-05 15:24:35 +09:00
Mihir Patel
aabc172d7a themes/agnoster: Fix "command not found" error caused by #118 (Fix #429)
This is a regression by PR #118 on GitHub [1].  `git_status_dirty` and
`git_stash_dirty` are functions and not external commands.

[1] https://github.com/ohmybash/oh-my-bash/pull/118
2023-04-05 15:22:33 +09:00
Koichi Murase
9b8173c984 Merge pull request #181 from rrthomas/fix-git-using-command
base.theme.sh: use “command” to run git and svn everywhere
2023-04-04 18:56:57 -07:00
Koichi Murase
1fb516dfe2 plugins/git: Prefix "command" to git aliases 2023-04-05 10:52:30 +09:00
Koichi Murase
1453db64c8 global: Use "command" to run "hg" 2023-04-05 10:35:13 +09:00
Koichi Murase
897876eae1 global: Use "command" to run "git" and "svn" 2023-04-05 10:35:11 +09:00
Reuben Thomas
d3e6411f54 lib/omb-prompt-base: Use "command" to run git and svn everywhere
This was largely done correctly, but several invocations of “git” were not
done with “command”. This means that they could pick up aliases for git,
such as “hub” or “lab”, which would still work, but (especially with “lab”)
make things really slow.
2023-04-05 10:30:39 +09:00
Marc Richter
1187cb1f16 lib/history: Fix broken link in comments (#425) 2023-04-04 20:15:10 +09:00
Marc Richter
0fd6cab041 lib/history: Removed redundant shopt command (histappend) (#426) 2023-04-04 20:14:44 +09:00
Marc Richter
78da2ce84d Removing redundant HISTIGNORE patterns 2023-04-04 04:13:43 -07:00
hiagofranco
3d14c374b9 omb-prompt-base: Add "." to git branch whitelist (#420)
* omb-prompt-base: Add "." to git branch whitelist

Add "." to git branch character whitelist to fix branches
like v6.0 or 5.4.2, as examples.

* Update lib/omb-prompt-base.sh

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2023-04-04 20:12:42 +09:00
Brent Wilkins
c6f7d4fe9f aliases: Add Docker aliases (#421)
* Copied the Docker aliases from https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/docker/docker.plugin.zsh
* Sorted sections in README.md and put the new aliases in code tags
* Fixed table header divider alignment
2023-04-04 06:47:14 +09:00
Edwin Kofler
80b4974044 fix: Small syntax improvements (#424) 2023-04-02 03:02:29 +09:00
Koichi Murase
5fd472f0f2 aliases/general: Check -W flag for alias nano 2023-03-27 00:14:17 +09:00