ChrisTitusTech / linutil

Chris Titus Tech's Linux Toolbox - Linutil is a distro-agnostic toolbox designed to simplify everyday Linux tasks.
https://christitus.com
MIT License
1.75k stars 158 forks source link

why is everything being cloned to the $HOME folder? #161

Closed bckelley closed 2 weeks ago

bckelley commented 4 weeks ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] seems to be cleaner to have a central location e.g. .github/

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

sevu11 commented 3 weeks ago

@bckelley please fill out the form correctly. This issue contain no information.

bckelley commented 3 weeks ago

What part of that wasn't concise?

nnyyxxxx commented 2 weeks ago

Nothing is being cloned to the home folder when running

curl -fsSL https://christitus.com/linux | sh

If you are running this

git clone https://github.com/ChrisTitusTech/linutil/

Then it's not the repos fault that it's being cloned to the home folder. You can specify a location for the cloned repo to be dropped in though for instance

git clone https://github.com/ChrisTitusTech/linutil/ $HOME/Downloads/linutil

or

git clone https://github.com/ChrisTitusTech/linutil/ $HOME/.github/linutil

@bckelley

bckelley commented 2 weeks ago

Sorry maybe I wasn’t clear I was referring to the 1-compile-setup.sh which does indeed create a linutil directory under $HOME. I think it to be bad practice to clutter up the home directory to got repos!On Aug 23, 2024, at 03:26, nyx @.***> wrote: Nothing is being cloned to the home folder when running curl -fsSL https://christitus.com/linux | sh If you are running this git clone https://github.com/ChrisTitusTech/linutil/ Then it's not the repos fault that it's being cloned to the home folder. You can specify a location for the cloned repo to be dropped in though for instance git clone https://github.com/ChrisTitusTech/linutil/ $HOME/Downloads/linutil or git clone https://github.com/ChrisTitusTech/linutil/ $HOME/.github/linutil @bckelley

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

nnyyxxxx commented 2 weeks ago

Yeah, I considered you meant that. IMO there is nothing wrong with having one folder in the $HOME dir for a git project. Though it may be up to personal preference. @bckelley

bckelley commented 2 weeks ago

I usually do like $HOME/.github/${repo_name} I seeing the script didn’t even have a simple if statement to look for a passed argument for a directory was off putting and I don’t understand shell that well to be that complex in my scripting for a commitOn Aug 23, 2024, at 11:33, Nyx @.***> wrote: Yeah, I considered you meant that. IMO there is nothing wrong with having one folder in the $HOME dir for a git project. Though it may be up to personal preference. @bckelley

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

nnyyxxxx commented 2 weeks ago

Solved with #195 @bckelley

bckelley commented 2 weeks ago

@nnyyxxxx approved