Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors running under zsh or tmux #1

Closed
mattstratton opened this issue Aug 8, 2017 · 2 comments
Closed

Errors running under zsh or tmux #1

mattstratton opened this issue Aug 8, 2017 · 2 comments

Comments

@mattstratton
Copy link

I am just assuming this is an zsh vs bash issue; here is the error I've encountered (I am running Sierra)

Disable annoying UI error sounds.
\033[2m▹ defaults write com.apple.systemsound com.apple.sound.beep.volume -int 0 \033[0m
\033[2m▹ defaults write com.apple.sound.beep feedback -int 0 \033[0m
\033[2m▹ defaults write com.apple.systemsound com.apple.sound.uiaudio.enabled -int 0 \033[0m
\033[2m▹ osascript -e set volume alert volume 0 \033[0m
3:3: syntax error: Expected expression but found end of script. (-2741)

Additionally, you might want to add to your README that this won't work if run under tmux; I got a ton of errors :)

@echohack
Copy link
Owner

Hey Matt, thanks for the issue.

This script is designed to set up your Mac from scratch, so I'm assuming you're running plain Terminal.app using whatever version of Bash that Apple includes in the base install of the latest MacOS.

I'd be more than happy to take a pull request if you have a method of making the script behave the same under zsh or tmux. :)

@echohack
Copy link
Owner

echohack commented Mar 6, 2018

Closing out this issue because of lack of feedback. Feel free to open again to continue the discussion.

@echohack echohack closed this as completed Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants