diff options
| author | Sam Chudnick <sam@chudnick.com> | 2021-11-06 20:25:45 -0400 |
|---|---|---|
| committer | Sam Chudnick <sam@chudnick.com> | 2021-11-06 20:25:45 -0400 |
| commit | 82df70eff06e7b44ee84283070d7f801f7fc1d92 (patch) | |
| tree | d17ea9cc6e012b16ff0cdeffcf4a97b5e5cd2d11 /.config/shell/profile | |
initial commit
Diffstat (limited to '.config/shell/profile')
| -rw-r--r-- | .config/shell/profile | 22 |
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 | ||
| 5 | script_dirs="$(find ~/.local/bin/ -type d | grep -v "git")" | ||
| 6 | script_dirs="$(echo $script_dirs | tr ' ' ':')" | ||
| 7 | export PATH=$PATH:$script_dirs | ||
| 8 | |||
| 9 | export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' | ||
| 10 | export LESSHISTFILE='-' | ||
| 11 | export XDG_CACHE_HOME="$HOME/.cache" | ||
| 12 | export XDG_CONFIG_HOME="$HOME/.config" | ||
| 13 | export XDG_DATA_HOME="$HOME/.local/share" | ||
| 14 | export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc" | ||
| 15 | export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc" | ||
| 16 | export ZDOTDIR="$XDG_CONFIG_HOME/zsh" | ||
| 17 | export BROWSER="firefox" | ||
| 18 | export EDITOR="vim" | ||
| 19 | export TERMINAL="urxvtc" | ||
| 20 | |||
| 21 | eval `ssh-agent -s` | ||
| 22 | [ "$(tty)" = "/dev/tty1" ] && startx "$XINITRC" | ||
