forked from gablab/mindhive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
29 lines (22 loc) · 735 Bytes
/
Copy path.bashrc
File metadata and controls
29 lines (22 loc) · 735 Bytes
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
# Export PATHs
export PATH=/software/common/bin:$PATH
# Setup a fancy shell command prompt:
prompt1="\[\e[0;33m\][\A]\[\e[0m\]" # Display the time in the bash prompt
prompt2="\[\e[1;39m\]\u@\h:\W\$\[\e[0m\] " # Add username@host:dir$
promptinfo="${HOME}/.nodeload"
PROMPT_COMMAND='PS1="\[\e[1;37m\e[44m\]${project_name}\[\e[0;0m\]${prompt1}`${promptinfo}`${prompt2}"'
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
# Aliases
alias ls="ls --color=auto"
# Setup the torque parallelization queue:
if [ $BASH ] && [[ $TERM == xterm* ]]
then
source /etc/profile.d/modules.sh
export LIBGL_ALWAYS_INDIRECT=yes
module add torque
fi
# Project specific environments
source ~/.projects
source ~/.custom_env