#!/bin/bash # Profile file - executed by login shells # Add ~/.local/bin and all subdirectories to path script_dirs="$(find ~/.local/bin/ -type d | grep -v "git")" script_dirs="$(echo $script_dirs | tr ' ' ':')" export PATH=$PATH:$script_dirs export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' export LESSHISTFILE='-' export XDG_CACHE_HOME="$HOME/.cache" export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc" export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc" export ZDOTDIR="$XDG_CONFIG_HOME/zsh" export BROWSER="firefox" export EDITOR="vim" export TERMINAL="urxvtc" eval `ssh-agent -s` [ "$(tty)" = "/dev/tty1" ] && startx "$XINITRC"