-
Notifications
You must be signed in to change notification settings - Fork 2
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
root dotfiles #785
root dotfiles #785
Conversation
files/root/.bashrc
Outdated
alias ls='ls $COLOR_OPTIONS' | ||
alias ll='ls $COLOR_OPTIONS -l' | ||
alias la='ls $COLOR_OPTIONS -A' | ||
alias lla='ls $COLOR_OPTIONS -lA' |
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 know you said this was largely copied from debian/ubuntu defaults, so I'm not inclined to do much bikeshedding, but since these are meant to be convenient, I'll suggest s/-l/-lh/
, since -h
is almost always preferable for taking information in at a glance.
I do not care about a host of variant aliases. I care about colors by default, since that has been in place for login shells across distros for so long as to be de facto ls behavior.
I don't expect I will collide with these relatively common others; I would only prefer that we don't add or invent a bunch. The flags/combinations are already available (in any order) with one dash, so I find the aliases dubious.
|
I will not edit this branch further. If there objections to what's here please feel free to add commits to this branch. If there are no objections, then this is just waiting on confirming on Monday whether we need the odd local edits currently present on one or two servers that this commit will run over. |
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 guess I've got used to the lack of colors, but their addition won't hurt me either, plus I'll know at a glance which things are directories. Seems good.
I have been stubbing my toe on the lack of ll
probably about once weekly since 2017 (never complained since I figured it was my fault), so that alias will be a welcome addition for me. I doubt I'll use any of the others, but they won't get in my way or harm me, and I think I've seen them all before.
recurse => 'remote'
and purge => false
sound right to me for this.
imo the most important things here were:
|
- .bash_profile: delete this if it exists - .profile: verbatim from Debian - .bashrc: enable ls and grep color, ls aliases
Thanks for the feedback, everyone. Merging. |
No description provided.