Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chungy
on March 24, 2023
|
parent
|
context
|
favorite
| on:
Use the XDG Base Directory Specification
Those files are not in optional locations. You could possibly symlink from ~/.bashrc to ~/.config/bash/bashrc, but what's the point of that?
toolz
on March 24, 2023
[–]
Not completely true. You can launch bash with the --init-file flag and put the bashrc file wherever you'd like. Could even change /bin/bash or whatever your default shell is to be a script that launches bash with that flag provided.
pbhjpbhj
on March 24, 2023
|
parent
[–]
Is there a simple way to maintain that through updates?
toolz
on March 24, 2023
|
root
|
parent
[–]
was curious and found this
https://hiphish.github.io/blog/2020/12/27/making-bash-xdg-co...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: