Commit Graph

69 Commits

Author SHA1 Message Date
Koichi Murase
2202aeeb04 Refactor "{type => _omb_util_command_exists}" 2022-08-23 18:09:50 +09:00
M
de66a70f91 Refactor "{ => _omb_util_}command_exists"
https://github.com/ohmybash/oh-my-bash/pull/239#issuecomment-1007886245

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-08-23 18:09:50 +09:00
Koichi Murase
8c4b4a0824 plugins/vagrant: Ajdust styles 2022-07-14 06:04:13 +09:00
Enzo Arroyo
7f5d85f031 Feature to connect over vagrant servers
Fix in Ansible plugin description
2022-07-13 22:34:15 +02:00
Koichi Murase
4866624f79 plugins/vagrant: Add style changes 2022-07-08 05:29:33 +09:00
Enzo Arroyo
94e5f0f13a plugins: Add vagrant plugin for OMB 2022-07-08 05:29:33 +09:00
Koichi Murase
cb3d338a0e plugins/tmux-autoattach: Add memorandum about the background of option "-s0" 2022-06-20 13:58:31 +09:00
Phillip Ledger
fb978ce75e plugins/tmux-autoattach: Automatically attach to session 0 by default
this corrects the plugin not connecting back to the session by default
2022-06-20 13:50:50 +09:00
Koichi Murase
827277253a lib/omb-prompt-colors: Rename basic colors 2022-02-01 01:43:32 +09:00
Koichi Murase
d76093a3df plugins/bashmarks: Use global color variables 2022-02-01 01:42:52 +09:00
Koichi Murase
8eb9fec5ed lib, themes: Resolve conflicting variables
"lib" has used the variables "red", "green", "yellow", "blue", and
"purple" for outputting logs to stdout/stderr.  On the other hand,
"themes" has used the same variables for including escape sequences in
PS1.  These two sets of variables have different values, i.e., the
latter is enclosed by '\[' and '\]' and contains escaped '\e', which
means that there have been variable conflicts.  In this commit, more
specific variables are used in these places to resolve the conflicts.
2022-02-01 01:42:52 +09:00
Koichi Murase
7ed389eafd themes: Use new color variables 2022-02-01 01:42:50 +09:00
Koichi Murase
c3bcc5c6d2 refactor: Normalize shebang of scripts to source 2022-01-15 19:00:35 +09:00
Koichi Murase
3d2b35a3eb refactor: Replace invalid shebang lines 2022-01-15 15:46:11 +09:00
Koichi Murase
548fbb188c plugins/battery: Fix an error message on no battery systems 2022-01-15 14:03:55 +09:00
Koichi Murase
1c9af65069 plugins/battery: Remove composure.sh annotations 2022-01-15 14:02:04 +09:00
Koichi Murase
738c65dbff plugins/battery: Refactor extraction of percentage without a non-POSIX option 2022-01-08 15:40:06 +09:00
Koichi Murase
4637e4bd2e plugins/battery: Refactor "upower --show-info" 2022-01-08 15:40:06 +09:00
Koichi Murase
5cbaa84cc7 plugins/battery: Fix regex for the POSIX compatibility 2022-01-08 15:40:06 +09:00
DaarkMoon
b07199fac1 Update regular expression to be POSIX compatible 2022-01-08 15:40:06 +09:00
daarkmoon
614fa98211 Update grep regex when upower is used to avoid to catch 'discharging' 2022-01-08 15:40:06 +09:00
DaarkMoon
062a128cb6 plugins/battery: Correct grep regex when upower is used 2022-01-08 15:40:06 +09:00
Koichi Murase
fe585cd14f plugins/fasd: refactor 2021-12-28 09:27:42 +09:00
Erwin Jansen
0b1a6153f9 plugins: Add fasd plugin
Fasd offers quick access to files and directories. It is inspired by
tools like autojump, z and v. Fasd keeps track of files and
directories you have accessed, so that you can quickly reference them
in the command line

This plugin sets up fasd to use safe_command_prompt handling of
oh-my-bash to avoid conflicts with fasd's normal bash prompt handling.

More information about fasd can be found here:
https://github.com/clvv/fasd.
2021-12-28 09:21:17 +09:00
Koichi Murase
56c72b87fa lib/utils: refactor "{type => _omb_util_command}_exists" 2021-12-28 08:33:07 +09:00
Koichi Murase
3f162a3466 plugins/sdkman: Add cosmetic changes 2021-12-24 23:01:09 +09:00
Andre Greeff
1eea9542ea Fix: stop SDKMAN! plugin initialisation breaking NVM 2021-12-24 23:00:50 +09:00
Koichi Murase
dde7ea6395 plugins/{goenv,pyenv}: Add cosmetic changes 2021-12-24 22:03:05 +09:00
chopnico
fdc66ccc59 Update plugins/tmux-autoattach/README.md
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2021-12-24 22:03:05 +09:00
Wes Key
e327e66c02 removed checks and updated read me
- checks have been removed to in favor of conditional plugin loading
- .gitignore has been updated to ignore .tmp files
- main README has been updated to reflect conditional plugin loading
- tmux-autoattach plugin README has been updated to reflect
  conditional plugin loading options
2021-12-24 22:03:05 +09:00
Wes Key
fd7fadb2fb remove environment variable 2021-12-24 22:03:05 +09:00
chopnico
21abdef636 Update plugins/tmux-autoattach/README.md
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2021-12-24 22:03:05 +09:00
chopnico
6687a4bb9e Update plugins/tmux-autoattach/tmux-autoattach.plugin.sh
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2021-12-24 22:03:05 +09:00
Wes Key
7339f13536 updated README to reflect changes 2021-12-24 22:03:05 +09:00
Wes Key
dc01861a1a updated naming conventions and format based on comments 2021-12-24 22:03:05 +09:00
Wes Key
4f4fd5df8c added a checker for .goenv directory 2021-12-24 22:03:05 +09:00
Wes Key
35184a8e41 added goenv, tmux, and pyenv plugins. 2021-12-24 22:03:05 +09:00
Ajeet D'Souza
812a8d60ef Use type_exists
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2021-12-24 21:12:50 +09:00
Ajeet D'Souza
6c79f70891 Add plugin for zoxide 2021-12-24 21:12:50 +09:00
Seth Bergman
ae432c6185 Fix typo in sdkman plugin README 2021-12-24 20:45:35 +09:00
Seth Bergman
a656286a9b Update sdkman plugin README 2021-12-24 20:45:35 +09:00
Seth Bergman
fd6e34ea23 Update comments to match plugin 2021-12-24 20:45:35 +09:00
Deepankumar
8cfc1403c2 Typo: Fixed 2021-12-24 20:00:20 +09:00
Matheus Ramos
4db7436384 plugins/git: add git pull autostash aliases (#196) 2021-02-03 10:18:53 +07:00
Surendran Duraisamy
89e5054152 plugins/golang: Add golang plugin for oh-my-bash (#179)
* Add golang plugin for oh-my-bash

* Add target shell
2020-10-23 12:08:05 +07:00
Deepankumar
2d64322739 plugins: Multiple plugins implemented (#119)
* Ansible plugin added

* kubectl plugin added

* NPM Plugin added

* brew plugin added

* shebang added
2020-06-22 09:48:35 +07:00
Deepankumar
e54736e81e plugins/ansible: Ansible plugin added (#118) 2020-06-11 15:22:07 +07:00
Rishikesh Darandale
3ebd9b84f4 plugins: added nvm and sdkman (#150)
* feat(plugins): added sdkman plugin

* feat(plugins): added nvm plugin

* fix: fixed the codacy issues
2020-05-11 14:29:06 +07:00
Ojas Sinha
682939454f plugins/git: Add git cherry-pick -s (#91)
Its useful for devs.
2020-02-17 13:59:11 +11:00
Kreyren
7a3a7b01d6 plugins/battery: Attempt to fix https://github.com/ohmybash/oh-my-bash/issues/68 (#104)
Fixes: https://github.com/ohmybash/oh-my-bash/issues/68
2020-02-17 13:46:33 +11:00