73 Commits

Author SHA1 Message Date
4941d657dc tools/autossh: Bypass all shellcheck 2020-03-12 09:29:39 +11:00
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
b527766668 README: update the license text 2020-02-18 11:01:11 +11:00
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
682939454f plugins/git: Add git cherry-pick -s (#91)
Its useful for devs.
2020-02-17 13:59:11 +11:00
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
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
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
098e3ff368 plugins/bashmark: resolves conflict between noclobber and bashmark (#127)
Fixes #50
2020-02-12 16:46:00 +11:00
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
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
467e3cb7b9 completion: update maven completion (#58) 2019-07-26 14:32:17 +07:00
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
7b6e881bde README : Remove dicouraging/inappropriate section (#81) 2019-07-26 14:19:59 +07:00
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
f23792a782 Fix git commands completion (#62) 2019-06-27 18:37:10 +07:00
dcf1b26476 Create CODE_OF_CONDUCT.md (#35) 2019-06-05 13:49:01 +07:00
7c23eda3c2 Adding readme.md for agnoster theme (#57) 2019-05-14 12:25:47 +07:00
a0ed0675e7 Fixed typeset +m is a zsh specific feature (#49) 2019-05-09 23:28:49 +07:00
c35410e847 Added agnoster theme files (#54) 2019-05-09 23:26:54 +07:00
c7e4f03c02 Correct Themes url (#53) 2019-05-09 23:26:22 +07:00
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
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
b8f616f0e0 Fixes issue #29 (#30) 2018-08-13 16:29:56 +10:00
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
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
ee619e26ed Merge branch 'master' of github.com:ohmybash/oh-my-bash 2018-07-26 17:18:47 +10:00
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
dd83284688 Add 'bu' function to CD up faster 2018-07-25 21:47:14 -04:00
545543598b Merge pull request #19 from matjam/interactive_shell_fix
Only execute oh-my-bash on an interactive shell in .bashrc
2018-05-31 12:16:28 +07:00
6addd2b1e3 Only execute oh-my-bash on an interactive shell in .bashrc 2018-05-30 10:34:39 -07:00
b4a5c923f7 Merge pull request #12 from MichaelAnckaert/aws-plugin
First version of AWS plugin
2018-05-26 16:42:42 +07:00
605f57ceaa Merge pull request #13 from MichaelAnckaert/git-plugin-readme
Git plugin readme
2018-05-26 16:42:22 +07:00
9b0cffde50 Merge pull request #14 from MichaelAnckaert/bashmarks-plugin-readme
Added README file for bashmarks plugin
2018-05-08 21:50:29 +07:00
1e31ac204f Merge pull request #15 from MichaelAnckaert/issue-11
Fixed issue #11
2018-05-08 21:49:23 +07:00
95c51a49ca Fixed issue #11 2018-05-08 14:50:35 +02:00
b69809da3f Fixed typo in link 2018-05-08 14:47:37 +02:00
ff3043ad1f Fixed typo in link 2018-05-08 14:46:48 +02:00
218a3e6659 Added README file for git plugin 2018-05-08 14:44:32 +02:00
40d65528b2 Added README file for bashmarks plugin 2018-05-08 14:42:45 +02:00
e602c010c6 Added first version of aws plugin 2018-05-08 14:24:36 +02:00
63ed4c4886 Merge pull request #9 from che666/master
Fixed noise by rerouting the output of some external completion
2018-04-08 18:21:57 +07:00
8f539d5f19 Fixed noise by rerouting the output of some external completion scripts to /dev/null fixing: ISSUE #2 from the master repository. 2018-04-07 19:23:04 +02:00
fdebc6d854 Merge pull request #5 from Chris-Tan/bash4-required
Fixes #4
2018-03-06 14:14:07 +07:00
260144e2a0 Fix spectrum.sh
Since spectrum.sh was copied from zsh, the typeset -A used is zsh specific and in bash4, it is declare -A. I've fixed it and I've added a check to error out with a readable message, in red color, to tell the user to upgrade bash.
2018-03-05 19:41:30 -08:00
f96b54d920 Add CONTRIBUTING guidelines 2018-01-16 10:19:06 +11:00
6f854593e2 Add CONTRIBUTING guidelines 2018-01-16 10:15:05 +11:00
b6b3fbfe5d Fix init shell after installed 2017-11-08 16:01:23 +11:00
6dd590ba8b Fix init shell after installed 2017-11-08 15:52:57 +11:00
40291b9484 Fix init shell after installed 2017-11-08 15:41:25 +11:00