-
-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: OMB Improvements #270
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for making the PR! In addition to the comments I directly made in the code,
- I would like to notice that this major change will probably introduce conflicts to many existing PRs. We might need to notify the PR authors. Maybe we can resolve the conflicts at our side.
- I think maybe we should change
OMB
toOMB_PATH
,OMB_DIR
,OMBDIR
, or something more descriptive and unlikely to conflict with the variables defined by users and other people. - Just to confirm, is the shebang
#!/usr/bin/env bash
in plugins/themes/completions intended for text editors to correctly detect the language? - We want to import old configuration names as I have described in a reply at #268: e.g.
: "${OMB_CUSTOM=${OSH_CUSTOM}}"
. - We want to keep
oh-my-bash.sh
as a symbolic link tooh-my-bash.bash
for a while until the users complete the migration.
If you are busy to address all of these comments, maybe I can work on them when I have time.
I feel we should separate the PRs for each point because I am likely to make many comments for each change. |
I found that the extension of the main script of |
Agreed. |
@nntoan Thanks. I think I need to share my current thinking for the plan to process this PR. Currently, the author of PRs #288, #277, and #239 are working on polishing them up. On the other hand, this PR includes large changes Nevertheless, maybe the other changes in this PR can be processed separately (maybe in separate PRs). I'll take a look |
8e9c179
to
2e90f1f
Compare
2e90f1f
to
2d641e6
Compare
af20bfb I'm not sure if we should use What's the point of adding I suggest adding Edit: I decided to tentatively use the shebang |
c391560
to
2414c46
Compare
2414c46
to
ca8cd34
Compare
ca8cd34
to
60c68fc
Compare
|
60c68fc
to
3d67aae
Compare
Cross-Reference: This PR was mentioned in Discussion #591. (It is sad that the automatic cross-referencing doesn't work with GitHub Discussion) |
3d67aae
to
a5ee291
Compare
I will pick the first three commits in the master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this PR does very many things at once.
Ideaaly, for my taste, a big feature like the introduction of a òmb`cli tool should not be hidden under a general ïmprovements subject but would deserve a dedicated PR title and commit message header.
Just my 2 cents as a user who is also a developer.
a5ee291
to
766692e
Compare
Yes, we already cropped commits from this PR several times... I now picked three more commits from this PR and pushed them to the master branch. However, the implementation is actually incomplete. We now have a skeleton To clarify the current status of this PR, although there is one remaining commit in the PR (766692e), there are also two commits 4a608c7 and 2e90f1f that are temporarily dropped to avoid unnecessary conflicts to any changes to the codebase. |
.sh
into.bash
and add shebang lineOMB
instead ofOSH