-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
aliases/general & plugin/extract #2095
base: master
Are you sure you want to change the base?
Conversation
3f041cd
to
8d82edc
Compare
f22b70d
to
ce281eb
Compare
source "$BASH_IT/aliases/available/bash-it.aliases.bash" | ||
source "$BASH_IT/aliases/available/directory.aliases.bash" |
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.
loading it here wont make it load it twice in case its enabled?
we can check if the alias is already enabled, and source
only if its not
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 one actually confused the heck out of me. If the user disabled it, we should not load it. If the user enabled it, we don't need to load it. How can we tell? No idea.
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.
hmmm, I think that we should always check here if enabled, enable and source if not. If users dont want a certain alias, they should disable the general file. We can add a log here about it. I do not want to break backwards compat with this change
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.
Sounds right to me too.
- use `-A` instead of `-a` for `ls`, - quote variable expansions, - don’t *assign* default expansions, - don’t alias `piano` without `pianobar`, - enable `bash-it` aliases in the default profile…
ce281eb
to
1671df9
Compare
I say we fix the autoloading issue, merge from master and try again. |
Description
-A
instead of-a
forls
,piano
withoutpianobar
,alias/bash-it
inprofile/default
,aliases/directory
,aliases/editor
,alias/vim
,xt
toplugin/extract
and format the file...Motivation and Context
Just trying to cut down on the miscellaneous stuff in
aliases/general
...How Has This Been Tested?
Types of changes
Checklist:
clean_files.txt
and formatted it usinglint_clean_files.sh
.