sane defaults for RACK_ENV and NODE_ENV
This commit is contained in:
parent
5d2cf1594c
commit
e1a44f14a6
1 changed files with 10 additions and 0 deletions
10
zsh/zshrc
10
zsh/zshrc
|
|
@ -17,6 +17,16 @@ if mac; then
|
|||
|
||||
# Don't pollute tar archives with ._ files (Apple double files)
|
||||
export COPYFILE_DISABLE=true
|
||||
|
||||
# Develop on Mac
|
||||
export RACK_ENV="development"
|
||||
export NODE_ENV="development"
|
||||
fi
|
||||
|
||||
if linux; then
|
||||
# Deploy on Linux
|
||||
export RACK_ENV="production"
|
||||
export NODE_ENV="production"
|
||||
fi
|
||||
|
||||
cdpath=(~)
|
||||
|
|
|
|||
Loading…
Reference in a new issue