From 82df70eff06e7b44ee84283070d7f801f7fc1d92 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sat, 6 Nov 2021 20:25:45 -0400 Subject: initial commit --- .config/shell/profile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .config/shell/profile (limited to '.config/shell/profile') 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 @@ +#!/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" -- cgit v1.2.3