-
Notifications
You must be signed in to change notification settings - Fork 0
/
directories.sh
43 lines (34 loc) · 879 Bytes
/
directories.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
#!/bin/sh
BUILD_DIR="${HOME}/build"
if [ "$(uname)" = "Darwin" ]; then
BUILD_DIR="${HOME}/Build"
fi
export BUILD_DIR
ETC_DIR="${HOME}/etc"
if [ "$(uname)" = "Darwin" ]; then
ETC_DIR="${HOME}/Preferences"
fi
export ETC_DIR
LOCAL_DIR="${HOME}/.local"
export LOCAL_DIR
LOCAL_BIN_DIR="${LOCAL_DIR}/bin"
export LOCAL_BIN_DIR
LOCAL_OPT_DIR="${LOCAL_DIR}/opt"
export LOCAL_OPT_DIR
PROJECT_DIR="${HOME}/projects"
if [ "$(uname)" = "Darwin" ]; then
PROJECT_DIR="${HOME}/Projects"
fi
export PROJECT_DIR
TMP_DIR="${HOME}/tmp"
export TMP_DIR
UNIVERSITY_PROJECT_DIR="${PROJECT_DIR}/university"
if [ "$(uname)" = "Darwin" ]; then
UNIVERSITY_PROJECT_DIR="${PROJECT_DIR}/University"
fi
export UNIVERSITY_PROJECT_DIR
VISIOSTO_PROJECT_DIR="${PROJECT_DIR}/visiosto"
if [ "$(uname)" = "Darwin" ]; then
VISIOSTO_PROJECT_DIR="${PROJECT_DIR}/Visiosto"
fi
export VISIOSTO_PROJECT_DIR