2487 shaares
83 private links
83 private links
What are the best guides for learning zsh for someone that prefers seeing concreete examples that work? I have a hard time reading/understanding the man pages. I am trying to write very simple scripts but I don't understand how to do basic things like creating and using variables:
#!/bin/bash
d= date -v +1d '+%m_%d_%ydayPlan.rtf' #tomorrow's date with underscores + 'dayPlan.rtf'
touch /Users/mangoQuesadilla/Documents/dayplans/${d} #supposed to create a file, but it doesn't work.