All Questions
Tagged with zsh shell-script
2
questions
23
votes
2
answers
9k
views
Writing shell scripts that will run on any shell (using multiple shebang lines?)
I've just started getting deeper into shell scripting, and I've always just thrown my script in a file, marked it chmod +x and then done /path/to/script.sh and let whatever interpreter is the default ...
2
votes
2
answers
2k
views
On OS X, how do I start Cocoa emacs *and* bring it to front?
I wrote a little zsh function to allow me to run emacs from the command-line:
function emacs() {
/Applications/Emacs.app/Contents/MacOS/Emacs $@ &
}
This works perfectly, but it seems to ...