Startup helper
See original GitHub issueI’ve done a little shell script to put in my terminal’s initial source file (.zshrc in my case):
# Tiny care terminal
export TTC_SAY_BOX="ironman"
export TTC_WEATHER="Várzea Grande, Brazil"
export TTC_GITBOT="gitlog"
function work() {
answer="Y"
if [[ -z "$1" || ("$1" != "-y" && "$1" != "-Y") ]]; then
echo -n "Wanna start work? (Y/n) "
read answer
fi
if [[ -z "$answer" || "$answer" = "Y" || "$answer" = "y" ]]; then
echo -n "Tell me some local git repos (separated by comma): "
read repos
ttc_repos=""
ifsbak=$IFS
IFS=","
for repo in `echo "$repos"`; do
if [[ "$ttc_repos" != "" ]]; then
ttc_repos="$ttc_repos,"
fi
ttc_repos="$ttc_repos$HOME/Projects/$repo"
done
IFS=$ifsbak
TTC_REPOS="$ttc_repos" tiny-care-terminal
else
echo "Ok, if you need me, just enter 'work'. See ya..."
fi
}
work
If it isn’t helpful, please just close this issue. Regards 😃
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
StartUp Helper || Let Us Help You To Grow - StartUp Helper
Helper. Helper. Everybody needs a little help. In business sector it is even more so. We, with our expertise and experience, try to...
Read more >Startup Helper download | SourceForge.net
Startup Helper lets users choose which programs are launched when the OS boots up. It also allows for waiting periods between launching ...
Read more >Startuphelper pop-up every 30 seconds - Apple Community
A forum where Apple customers help each other with their products. Learn more. Sign up with your Apple ID to get started. Apple...
Read more >Download Startup Helper 0.1.0.0 - Windows - Softpedia
Download Startup Helper - Add new items to Windows startup with the possibility to include program parameters, as well as a custom run...
Read more >Google for Startups
Google for Startups connects founders with the right people, Google products, and best practices to help startups grow.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think the script should be converted to node and store the vars in a way that can also be opened on Windows. That way we get cross-platform support.
ATM, I can’t even set up tiny-care-terminal on my machine. So, it’s gonna take a bit 😃