-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvrc
More file actions
26 lines (18 loc) · 778 Bytes
/
envrc
File metadata and controls
26 lines (18 loc) · 778 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
# define shell-agnostic environment variables here. this file is to be sourced
# by each shell's config file (i.e., ~/.bashrc, ~/.zshrc, etc.)
# each variable must be exported
# configure c compilers
#export CC=clang CXX=clang
#export CFLAGS='-Wall -ggdb3'
# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# set editor
export EDITOR=vim VISUAL=vim
#export LANG=en_US.utf8 LC_COLLATE=en_US.utf8
export PYTHONSTARTUP=~/.pythonrc.py
export LESS=" -FR $LESS"
export LESSHISTFILE=/dev/null # don't save history for less
export SUDO_EDITOR="gvim -f" # editor for sudoedit
# output format for Slurm's squeue command
export SQUEUE_FORMAT="%.9i %.9P %.26j %.24u %.12T %.16M %.6D %R"
# vi: set filetype=sh: