Comments (2)
Today I learned about set -e
, thanks :)
My only concern about making this change right away is that there seem to be some edge cases that I haven't thought through yet.
from dev-setup.
welcome :)
you can also disable and re-enable this behaviour when you expect a command to produce a non-zero exit, by surrounding the command with a set +e
and set -e
.
set -e
normal_command
normal_command
set +e
command_with_non_zero_exit
set -e
normal_command
normal_command
from dev-setup.
Related Issues (20)
- DO NOT USE THIS WITH MOJAVE
- -bash: /usr/bin/virtualenvwrapper.sh: No such file or directory HOT 1
- Please update to fix errors on macos monterey HOT 1
- Add Go installation HOT 3
- Rename osx to macos HOT 1
- Create a landing page HOT 2
- Add Github Desktop HOT 2
- Notice: Maintainer Temporarily Unavailable HOT 1
- iTerm color theme support in Ubuntu Gnome-terminal HOT 1
- PyData.sh Script Permission Error in Mac HOT 6
- Running osx.sh left mac in an unusable state HOT 3
- /usr/bin/python: No module named virtualenvwrapper HOT 6
- Homebrew bundle
- softwareupdate: invalid option -- v HOT 1
- /usr/local/bin/virtualenvwrapper.sh: No such file or directory HOT 4
- Revert everything and start all over again HOT 1
- setup fail under macOS High Sierra HOT 2
- How do I remove everything? HOT 2
- Dead project? HOT 15
- Setup Errors on macOS Mojave
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dev-setup.