Commit Graph

295 Commits

Author SHA1 Message Date
Koichi Murase
1f63760f5e CONTRIBUTING: add a request for the update of the wiki page of Themes 2021-12-24 19:41:12 +09:00
Koichi Murase
3e6d515f13 CONTRIBUTING: mention required Bash version and POSIX-compatibility
> https://github.com/ohmybash/oh-my-bash/discussions/268#discussioncomment-1862992
>
> Just keep in mind we need all PRs to be POSIX-compatible unless
> they're creating a plugin that clearly mention working only with
> macOS for e.g by @nntoan
2021-12-24 19:41:12 +09:00
Koichi Murase
03ce3f5877 CONTRIBUTING: remove the "don't send new themes" notice
Just remove the notice following the below discussion:

> https://github.com/ohmybash/oh-my-bash/issues/194#issue-787780634
>
> i read you don't want new themes. and adding plugins is
> complicated. plus, i probably added way more than necessary,
> anyway. but it works for me. by @cauerego
>
> https://github.com/ohmybash/oh-my-bash/issues/194#issuecomment-767275877
>
> The words there is a lie, I do recommend new theme pushed to the
> repository, please feel free to do that! by @nntoan
2021-12-24 06:35:33 +09:00
Koichi Murase
4cc3ce04a4 LICENSE: Recover the original copyright notice from Oh My Zsh
The MIT license does not allow to remove the copyright notice.
2021-12-24 05:50:07 +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
Jay Vercellone
c308e0821e themes/agnoster: Prompt broken when using pyenv (#176) (#177)
* Make sure that the output of `python --version` is always captured.
* Refactor logic to extract Python version using `awk` instead of a
  for-loop.

Fixes #176
2020-09-27 22:08:13 +07:00
fcatus
c37486a76e README: Update README.md (#168) 2020-08-10 11:56:43 +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
Toan Nguyen
670b544d73 Create FUNDING.yml 2020-06-12 08:46:06 +07:00
Toan Nguyen
0daf3bd058 Update README.md 2020-06-11 16:05:29 +07:00
Toan Nguyen
6c4175a7ab Update README.md 2020-06-11 16:04:59 +07:00
Jacob Hrbek
9f93634c04 README: Fix for #52 (#95)
Co-authored-by: Jacob Hrbek <werifgx@gmail.com>
2020-06-11 15:42:01 +07:00
Jan Bernlöhr
4d0efc87aa themes/powerline: Fix POWERLINE_PROMPT is not an array (#37)
Authored-by: Jan Bernloehr <bosch.bernloehr@extaccount.com>
2020-06-11 15:40:27 +07:00
lucasgnavarro
749823b78f themes/agnoster: Changes in prompt_virtualenv() function in order to show the python version and not the folder name. (#147) 2020-06-11 15:38:32 +07:00
Alvin Baptiste
2a41e70e92 aliases/general: Add fix_term alias to reset the terminal (#153)
- This alias resets the terminal in cases where `stty sane` and
  reset may not work.

Authored-by: Alvin <alvin@thedarkside.local>
2020-06-11 15:37:51 +07:00
SOPHAL HONG
fdd28c810a completions/minikube: Add minikube completion (#130)
Co-authored-by: sophal <hongsophal@github.com>
2020-06-11 15:22:58 +07:00
Deepankumar
e54736e81e plugins/ansible: Ansible plugin added (#118) 2020-06-11 15:22:07 +07:00
Nikolas Garofil
8e9b7646b9 themes: Add new theme 'garo' (#133)
* Extra theme 'garo'

* theme garo: export vars
2020-06-11 14:49:11 +07:00
Toan Nguyen
c8d04eeeaf LICENSE: Change on MIT from GPLv2 (#154)
The project should be licensed under MIT to match with OhMyZsh.
Fixes #151
2020-06-11 14:40:49 +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
Davide Cendron
48df2df79c fix path for custom completions (#149) 2020-05-04 17:17:53 +07:00
Toan Nguyen
4941d657dc tools/autossh: Bypass all shellcheck 2020-03-12 09:29:39 +11:00
Toan Nguyen
697d0d062c tools/autossh.sh
This is a small script which allows you reconnect to SSH automatically without installing a package like `mosh-server`
2020-03-12 08:13:46 +11:00
Toan Nguyen
b527766668 README: update the license text 2020-02-18 11:01:11 +11:00
Kreyren
c46e56e8e8 LICENSE: Change on GPLv2 from WTFPL (#87)
Fixes #78
Signed-off-by: Jacob Hrbek <werifgx@gmail.com>
2020-02-17 17:35:40 +11: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
5708cfd704 lib/utils: Code quality improvement (#103)
Fixed by suggestion 
https://github.com/ohmybash/oh-my-bash/issues/68#issuecomment-523238232

Bug: https://github.com/ohmybash/oh-my-bash/issues/68
2020-02-17 13:46:57 +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
Hans Wurst
27b55d1ea3 lib/theme-and-appearance: Remove using of the alias command in theme and appearance. (#107)
Setting the color is ok, but the alias should be set on another place.

Refs #106
2020-02-17 13:45:49 +11:00
Jason Verbeek
098e3ff368 plugins/bashmark: resolves conflict between noclobber and bashmark (#127)
Fixes #50
2020-02-12 16:46:00 +11:00
Israel Antonio Rosales Laguan
ec1921490f Themes: screenshots added (#116)
* [feat] THEMES.md: Add screenshots

What?:
- Add screens for all themes
- Add THEMES.md to showcase all screens

Breaking Changes? None

* fix #114

What?:
- Add screenshots to be added to wiki

Breaking Changes? None
2019-12-31 15:00:02 +07:00
Kreyren
429ffc1cbc oh-my-bash.sh : Fix for #70 #59 (#71)
* oh-my-bash.sh : Fix for #70

* Future proofing

* Fixed symlink for agnoster-bash.theme.sh

* Reaction on https://github.com/ohmybash/oh-my-bash/pull/71#discussion_r307617303
2019-07-31 16:13:08 +07:00
kanedafromparis
467e3cb7b9 completion: update maven completion (#58) 2019-07-26 14:32:17 +07:00
sljinlet
5b680bf30a Add short form of '-g' option to bashmarks plugin (#41)
Accept just a bookmark name as a short form of the '-g' option.  If just
    one arg is supplied, and it doesn't start with a dash, then it is assumed
    to be a bookmark name and _goto_bookmark is called. [ bm BOOKMARK_NAME ]
  Add a -h option to print usage info with same behavior as supplying no args
  Add echoing an error message if an unrecognized option is given, followed
    by usage info
  Augment usage info to reflect these changes and update README.md
2019-07-26 14:24:53 +07:00
Kreyren
7b6e881bde README : Remove dicouraging/inappropriate section (#81) 2019-07-26 14:19:59 +07:00
Kreyren
aec04995a2 README: Sanitization for local repositories (#84)
* README: Sanitization for local repos

* img: Added new directory for images

* fixed syntax err
2019-07-26 14:19:29 +07:00
Tasos Vlachogiannis
f23792a782 Fix git commands completion (#62) 2019-06-27 18:37:10 +07:00
Toan Nguyen
dcf1b26476 Create CODE_OF_CONDUCT.md (#35) 2019-06-05 13:49:01 +07:00
Rohit Potter
7c23eda3c2 Adding readme.md for agnoster theme (#57) 2019-05-14 12:25:47 +07:00
Chai Feng
a0ed0675e7 Fixed typeset +m is a zsh specific feature (#49) 2019-05-09 23:28:49 +07:00
Rohit Potter
c35410e847 Added agnoster theme files (#54) 2019-05-09 23:26:54 +07:00
Ping Yang
c7e4f03c02 Correct Themes url (#53) 2019-05-09 23:26:22 +07:00
Toan Nguyen
53fb803740 OMB - Major Refactor (#39)
* OMB - Major Refactor

- Aliases and completions now works like plugins (need to enabled in .bashrc)
- Removed the compatible check in spectrum.sh, OMB now works with Bash v3.x like the old days.
- Removed core plugin, added those bash functions into base.sh and load during startup.
- Updated OSH template for new installations
- Added history config and few other stuff from #17

@TODO: Added a shell script to update old version of .bashrc to new one.

* Fixed ShellCheck issues

* Fixed ShellCheck issues
2019-01-23 03:05:32 -08:00
DDifDEVzero
6ade77f3bb function append_prompt_override (#33)
set "function" before append_prompt_override in line 521 so that bash could known the comman
2018-08-24 10:47:25 +10:00
Rubén Bonilla Martínez
b8f616f0e0 Fixes issue #29 (#30) 2018-08-13 16:29:56 +10:00
Nataraj Basappa
e66772ba24 Fix to check bash version before install (#28)
* Fix to check bash version before install

* Fix for non-zero exit status
2018-08-13 16:29:04 +10:00
Erwin Jansen
246d698e4c Allow overriding of prompt addition (#24)
Some environments have stringent security features that do not allow the
execution of functions inside `$PROMPT_COMMAND`, breaking every individual
theme.

We now allow the overriding of the prompt setter command to workaround
this.
2018-08-13 16:18:49 +10:00
Toan Nguyen
ee619e26ed Merge branch 'master' of github.com:ohmybash/oh-my-bash 2018-07-26 17:18:47 +10:00
Toan Nguyen
9b02d278fd Merge pull request #22 from tmidi/tmidi/bu-plugin
Add 'bu' function to CD up faster
2018-07-26 16:14:30 +10:00