-
Notifications
You must be signed in to change notification settings - Fork 1
/
bashrc.react
35 lines (28 loc) · 937 Bytes
/
bashrc.react
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# The following is the standard environment file for the LForms
# development team.
# You should explicitly source
# this first and then do your own environment
# customizations.
# You may set variables before sourcing this to change execution
# of it.
# Use the globally installed node and its modules
NODE_DIR=node-v14.15.5-linux-x64
# Set path
PATH=/depot/packages/${NODE_DIR}/bin:/usr/local/git/bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/etc
# Add node_modules/.bin to the path. We can find that from `npm bin`, but that
# takes a second or two, and slows things down.
script_dir=`dirname ${BASH_SOURCE}`
npm_bin=`readlink -f $script_dir/node_modules/.bin`
PATH=$PATH:$npm_bin
# Set node in development mode
unset NODE_ENV
# Set editor for git
export EDITOR=/usr/bin/vim
umask 022
# Set some things only if in an interactive shell
if [[ "$-" == *i* ]]
then
# Maybe needed for CDE
#stty erase ^H
stty erase ^\?
fi