blob: e806ba1c64fef2a7026663ea7e6bc01c3dbf74bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/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"
|