#!/bin/sh

export R='16686@ch-s010.rsync.net'
export EDITOR=vi
export BROWSER=firefox
export INPUTRC=~/.inputrc
export BORG_REMOTE_PATH='borg1'
export GOPATH="$HOME/dev/go"
export PASSWORD_STORE_DIR="$HOME/dev/others/password-store"
export RLWRAP_HOME="$HOME/.cache/rlwrap"
export CFLAGS='-std=c99 -Wall -Wextra -Wpedantic -Werror -fPIC -g'
export CC=gcc

export C_INCLUDE_PATH="${C_INCLUDE_PATH:-}${C_INCLUDE_PATH:+:}$HOME/.local/include"
export LIBRARY_PATH="${LIBRARY_PATH:-}${LIBRARY_PATH:+:}$HOME/.local/lib"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH:-}${PKG_CONFIG_PATH:+:}$HOME/.local/lib/pkgconfig"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}${LD_LIBRARY_PATH:+:}$HOME/.local/lib"
MANPATH="${MANPATH:-$HOME/.local/share/man:$(manpath)}"
export MANPATH
export PREFIX="$HOME/.local"
export INFOPATH="${INFOPATH:-}${INFOPATH:+:}$HOME/.local/info"

# https://git.savannah.gnu.org/cgit/guix.git/tree/doc/guix.texi?id=cd6ae1cee95644b9aa712a7192bc9677a04c146b#n1287
export NIX_BUILD_CORES=0

export GUIX_PROFILE="$HOME/.guix-profile"
export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

PATH="$HOME/.local/bin:$HOME/tmp/bin:$HOME/dev/others/dinheiros:$DOTFILES/scripts:$DOTFILES/xmonad/scripts:$DOTFILES/cron:$DOTFILES/cron/generated:$HOME/annex/bin/scripts:$PATH"
