summary refs log tree commit diff
path: root/home/.profile
blob: 796e975f62c9f6bfe5a9ca797bf560ce06428a27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
_PATH=$PATH PATH=
path() { [ -d "$1" ] && PATH="${PATH}${PATH:+:}${1}"; }
for prefix in '' /usr/local /usr/pkg /usr /opt/pkg ~/.local; do
	path "${prefix}/sbin"
	path "${prefix}/bin"
done
path /usr/games

export PAGER=less
export LESS=FRX
export EDITOR=nvim
export MANPAGER='nvim +Man!'
export MANSECT=2:3:1:8:6:5:7:4:9
export CLICOLOR=1
export GPG_TTY=$(tty)
export NETHACKOPTIONS='pickup_types:$!?+/=, color, DECgraphics'

type nvim >/dev/null 2>&1 || EDITOR=vim
[ -e /usr/share/mk/sys.mk ] || export CFLAGS=-O
[ -d /usr/home ] && cd

export ENV=~/.shrc
p;follow=1'>Forward SSH agent to *.localJune McEnroe 2016-06-20Check one directory up for .git/HEADJune McEnroe 2016-06-18Set undofileJune McEnroe 2016-06-17Use more as pager in psqlJune McEnroe 2016-06-09Set PAGER=lessJune McEnroe 2016-06-06Add port to april ssh configJune McEnroe 2016-05-28Add april to SSHJune McEnroe 2016-05-16Set background in nvim from iTerm profileJune McEnroe Is this overkill? 2016-05-15Add light iTerm profileJune McEnroe 2016-05-15Set gruvbox vert split relative to backgroundJune McEnroe 2016-05-15Cache GPG key for half an hourJune McEnroe 2016-04-29Test for linux insteadJune McEnroe 2016-04-29Remove explicit syntax/filetype onJune McEnroe neovim 0.1.4 actually doesn't need them! 2016-04-12Remove gvim=mvim aliasJune McEnroe 2016-04-12Detect Darwin or *BSD for aliasesJune McEnroe 2016-04-07Use default pinentry and set GPG_TTYJune McEnroe 2016-04-07Add git config override includeJune McEnroe 2016-04-06Simplify install scriptJune McEnroe 2016-04-06Add gpg-agent to READMEJune McEnroe 2016-04-06Always sign git commitsJune McEnroe 2016-04-06Use standard socket for gpg-agentJune McEnroe 2016-04-06Set iTerm font to PointfreeJune McEnroe