aboutsummaryrefslogtreecommitdiff
path: root/.profile
blob: 567806e18a37753a9b5ea7d76bc9723ec6e95d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# Compilation
MAKEFLAGS="-j$(nproc)"
CFLAGS="-O3 -pipe -march=native"
CXXFLAGS="${CFLAGS}"

# Global variables
EDITOR="vis"
VISUAL="${EDITOR}"
LANG=en_US.UTF-8
MBSYNCRC="$HOME/.config/mutt/mbsyncrc"

PATH="$HOME/go/bin:$PATH"
PATH="$HOME/.local/bin:$PATH"

for d in $(find $HOME/bin -maxdepth 2 -type d); do
	PATH="$d:$PATH"
done

export CFLAGS CXXFLAGS EDITOR LANG MAKEFLAGS MBSYNCRC PATH VISUAL
[ $(tty) = "/dev/tty1" ] && sx