Get Config
#1
I made a shell script to gather config files and either tar them ot upload them to a git repo. How do I make this better or more useful.
Thanks

https://my.mixtape.moe/cuucjh.sh
Reply
#2
>forced sleeping && magic numbers
don't do this
>memes
very epic
>"Updated config" for the commit message
commit messages are supposed to be present-tense not past-tense, something like "Update config"

Very good but it would be cool to be able to manually add config files myself like .bashrc and be able to not push a tar file if you want to share the files with other people. (It also makes more advanced git commands harder to execute like branching & merging)
You could omit every menu entry in at the end of every case and instead append menu at the very end and encase everything in a while loop, replace exit with break.
Reply
#3
(06-04-2018, 06:57 PM)god Wrote: commit messages are supposed to be present-tense not past-tense, something like "Update config"
Imperatives.
If doomsday’s coming, let the earth attack.
▾▴▾▴▾▴▾▴▾▴▾▴▾



Reply


[-]
Quick Reply
Message
Type your reply to this message here.


Forum Jump:


Users browsing this thread: 1 Guest(s)