I have started working on making the setup.sh script follow bash standards more. (such as adding local varname instead of varname, and using arrays instead of splitting. Everything that I did is documented in the comments that I added to the script. I am just following stuff from https://github.com/bahamas10/bash-style-guide
.bashrc changes
I also added a few of the XDG folders to the exports in the .bashrc file, I have also exported the LINUXTOOLBOXDIR as an environment variable as that is going to be used in the linutil and I assume other scripts you make in the future, so this will just make it easier to do stuff. I also added caching for starship and zoxide (basically I am just putting the init scripts into a file and sourcing it) I have found that doing this speeds up the shells startup time.
Hi Chris love your videos.
README changes
I added install instructions to the README.
setup.sh changes
I have started working on making the setup.sh script follow bash standards more. (such as adding
local varname
instead ofvarname
, and using arrays instead of splitting. Everything that I did is documented in the comments that I added to the script. I am just following stuff from https://github.com/bahamas10/bash-style-guide.bashrc changes
I also added a few of the XDG folders to the exports in the .bashrc file, I have also exported the
LINUXTOOLBOXDIR
as an environment variable as that is going to be used in the linutil and I assume other scripts you make in the future, so this will just make it easier to do stuff. I also added caching for starship and zoxide (basically I am just putting the init scripts into a file and sourcing it) I have found that doing this speeds up the shells startup time.