-
Notifications
You must be signed in to change notification settings - Fork 456
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
add a recipe: aweshell #2691
base: master
Are you sure you want to change the base?
add a recipe: aweshell #2691
Conversation
recipes/aweshell.rcp
Outdated
:description "Awesome shell extension base on eshell with wonderful features!" | ||
:pkgname "manateelazycat/aweshell" | ||
:post-init | ||
(require 'aweshell)) |
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.
Is this require
really needed?
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.
The author doesn't use autoload
in the code. I have no idea which function should I add autoload
in the recipe, so I use require
to load it. Any suggestion of fixing this?
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 have no idea which function should I add
autoload
in the recipe,
The interactive commands are usually a good place to start. May ask the package author too?
Aweshell will be required once the user initializes the eshell-mode
This should work. When the user initializes the |
:description "Awesome shell extension base on eshell with wonderful features!" | ||
:pkgname "manateelazycat/aweshell" | ||
:prepare | ||
(autoload 'eshell "aweshell" nil t)) |
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.
This looks strange and likely to break eshell to me. Maybe use (eval-after-load 'eshell '(require 'aweshell))
instead?
Aweshell is a powerful extension to the original eshell.