Skip to content
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

Add a few improvements #66

Merged
merged 5 commits into from
Jul 14, 2024
Merged

Add a few improvements #66

merged 5 commits into from
Jul 14, 2024

Conversation

Subarctic2796
Copy link
Contributor

@Subarctic2796 Subarctic2796 commented Jul 7, 2024

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 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.

update setup.sh to be more bash like.
add xdg folders
export linuxtoolboxdir as other scripts will use it
add caching for starship and zoxide so that the shell starts faster
Add installation guide for people who don't know how to install it
I by mistake left in some of the echo debugging while I was working on the script. So i removed it
@ChrisTitusTech
Copy link
Owner

Love the additions, modified it further to switch from bash to sh for speed and POSIX compliance. Thanks @Subarctic2796

@ChrisTitusTech ChrisTitusTech merged commit 51feaae into ChrisTitusTech:main Jul 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants