-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinitenv.sh
executable file
·45 lines (39 loc) · 1.11 KB
/
initenv.sh
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
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
#------------------------------------------------------------------------------
# GEOS-Chem Global Chemical Transport Model !
#------------------------------------------------------------------------------
#BOP
#
# !MODULE: initenv.sh
#
# !DESCRIPTION: Copies startup files from ~/aws-env/root to your home
# directory.
#\\
#\\
# !CALLING SEQUENCE:
# ~/aws-env/initenv.sh
#
# !REVISION HISTORY:
# Use the gitk browser to view the revision history!
#EOP
#------------------------------------------------------------------------------
#BOC
# Copy files to the home folder
cp -f ~/aws-env/root/.Xresources ~
cp -f ~/aws-env/root/.bash_aliases ~
cp -f ~/aws-env/root/.bash_functions ~
cp -f ~/aws-env/root/.condarc ~
cp -f ~/aws-env/root/.tmux.conf ~
cp -f ~/aws-env/root/.gitconfig ~
# Apply the X11 settings in .Xresources
xrdb ~/.Xresources
# Initialize emacs
cd ~/aws-env/
git submodule update --init --recursive
cp -fR root/.emacs.d ~
cd ~/.emacs.d/emacs-config
./install.sh
cd ~
# Put the bin directory in the search path
export PATH=$PATH:~/aws-env/bin
#EOC