summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2021-11-06 20:25:45 -0400
committerSam Chudnick <sam@chudnick.com>2021-11-06 20:25:45 -0400
commit82df70eff06e7b44ee84283070d7f801f7fc1d92 (patch)
treed17ea9cc6e012b16ff0cdeffcf4a97b5e5cd2d11 /.config/shell/profile
initial commit
Diffstat (limited to '.config/shell/profile')
-rw-r--r--.config/shell/profile22
1 files changed, 22 insertions, 0 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
new file mode 100644
index 0000000..e806ba1
--- /dev/null
+++ b/.config/shell/profile
@@ -0,0 +1,22 @@
1#!/bin/bash
2# Profile file - executed by login shells
3
4# Add ~/.local/bin and all subdirectories to path
5script_dirs="$(find ~/.local/bin/ -type d | grep -v "git")"
6script_dirs="$(echo $script_dirs | tr ' ' ':')"
7export PATH=$PATH:$script_dirs
8
9export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
10export LESSHISTFILE='-'
11export XDG_CACHE_HOME="$HOME/.cache"
12export XDG_CONFIG_HOME="$HOME/.config"
13export XDG_DATA_HOME="$HOME/.local/share"
14export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc"
15export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
16export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
17export BROWSER="firefox"
18export EDITOR="vim"
19export TERMINAL="urxvtc"
20
21eval `ssh-agent -s`
22[ "$(tty)" = "/dev/tty1" ] && startx "$XINITRC"