Commit Graph

287 Commits

Author SHA1 Message Date
Koichi Murase
5984c17d14 Merge pull request #217 from jeansebastienh/216-gnumakefile
completions/make: Supporting GNUmakefile and makefile
2021-12-29 02:05:42 +09:00
Koichi Murase
6d8896c4dc completions/makefile: Adjust quoting 2021-12-29 02:03:30 +09:00
Jean-Sébastien Hedde
e0abffc8af completions/makefile: Respect POSIX compatibility
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2021-12-29 02:03:30 +09:00
Jean-Sébastien Hedde
f364333dfd completions/makefile: Support GNUmakefile and makefile
Close #216
2021-12-29 02:03:30 +09:00
Koichi Murase
f00c82341c Merge pull request #23 from pokowaka/fasd (deleted branch restored) 2021-12-28 09:30:00 +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
a3b8e5fdbf lib/utils: move and refactor "safe_append_prompt_command => _omb_util_append_prompt_command" 2021-12-28 09:21:17 +09:00
Koichi Murase
50d024358a lib/utils: Support termcap names for "tput" 2021-12-28 08:53:41 +09:00
Koichi Murase
d6100b81fc lib/utils: Refactor 2021-12-28 08:53:41 +09:00
Koichi Murase
d59c91bc35 themes/base: Refactor prompt info for ruby envs 2021-12-28 08:53:41 +09:00
Koichi Murase
c4ef72505b Merge pull request #171 from gzzsound/type-exists-include-functions
lib/utils: Include functions when searching for a command
2021-12-28 08:35:42 +09:00
Koichi Murase
56c72b87fa lib/utils: refactor "{type => _omb_util_command}_exists" 2021-12-28 08:33:07 +09:00
Alessandro Caianiello
f22cba2905 lib/utils (type_exists): Include functions when searching for a command 2021-12-28 08:28:55 +09:00
Koichi Murase
0a13c13c2e Merge pull request #273 from Honghe/patch-1
Add conda python venv prompt
2021-12-27 23:57:01 +09:00
Koichi Murase
1401e86e9f themes: Show the "conda" environment with "virtualenv" 2021-12-27 23:53:16 +09:00
Koichi Murase
77e5874e62 themes/base: Refactor prompt strings for python envs 2021-12-27 23:53:16 +09:00
Koichi Murase
81535a1e49 themes/cupcase: Remove dup def of "virtualenv_prompt" 2021-12-27 23:53:16 +09:00
Jack
cc2e8a87f9 themes/font: Add conda python venv prompt 2021-12-27 23:53:10 +09:00
Reuben Thomas
81fc5dd49d lib/grep.sh: fix expansion of GREP_OPTIONS
Previously, only the first element of the array was expanded, which is
always the empty string, so the setting of GREP_OPTIONS was useless. Expand
the entire array.
2021-12-26 22:01:27 +09:00
Reuben Thomas
7ddf334013 oh-my-bash.sh: fix reading of custom/lib files 2021-12-26 05:56:40 +09:00
Maciej Borsz
f4a24a11de Make it possible to disable clock in font theme 2021-12-25 14:22:57 +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
Jon Ware
39af832b76 Add '_' to git branch name character whitelist 2021-12-24 22:20:22 +09:00
Koichi Murase
dde7ea6395 plugins/{goenv,pyenv}: Add cosmetic changes 2021-12-24 22:03:05 +09:00
Wes Key
cd6500d280 statement about conditional plugins loading
- bashrc.osh-template has been updated to explain how to
  conditionally load plugins
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
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