Bash Configuration Gist
Bash Configuration
I updated my bash configuration gist today. As it has been a while since I have done as much and there have been some significant changes in my configuration model since the last update.
This gist is for the intermediate user and not so much a beginners guide. I do not go into a lot of explanations about CLI basics. It is likely to not make any sense at all to someone that is not versed in the basic concepts of the CLI using bash as a shell.
Bash Configuration Gist
Unus Nemo
#.bashrc #.bash profile #bash configuration #Gnu/Linux #Linux #bash
plan-A likes this.
plan-A
in reply to Unus Nemo • — (Proud Eskimo!) •@Unus Nemo I lack the rc or else it's hidden from 1st view.
really helpful for managing configs across systems this setup.
edit: Because I use zsh I guess while this is for pure Bash env
(.zshrc, .zprofile)
I can reset it using which, but there seem to be no need for that after some research, nevertheless your Gist explains well how you can improve bash in a cleaver way.
Unus Nemo likes this.
Unus Nemo
in reply to plan-A • •@plan-A
When using zsh just use
.cshetc in your ~/.config/profiled, you can use a directory named ~/.config/zshrc.d instead of ~/.config/bashrc.d, it will not hurt to setup the bash equivalent in and case in case you end up in a bash login at some point.And yes, the gist tells you that it is a Bash Configuration. Though it would be easy to translate to Zsh.
Of course their is not a need to organize you configuration in this way, it just simplifies things over the long run. It keeps everything in its own little compartment. It makes trouble shooting easier. This is especially true when you are administrating a multi-user system as I do.
plan-A likes this.
plan-A
in reply to Unus Nemo • •Unus Nemo
in reply to plan-A • •@plan-A
I do not know when you looked at the gist but I made a few corrections just moment ago. That I screwed up when I was tired earlier today.
plan-A likes this.
plan-A
in reply to Unus Nemo • — (Proud Eskimo!) •It was comprehensible nevertheless.