summaryrefslogtreecommitdiffstats
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile24
1 files changed, 24 insertions, 0 deletions
diff --git a/profile b/profile
new file mode 100644
index 0000000..ad5704b
--- /dev/null
+++ b/profile
@@ -0,0 +1,24 @@
+if [ "$SHELL" = "/bin/bash" ]; then
+ . ~/.bashrc
+fi
+
+
+# Variables
+# ======================================================================
+
+# redundant but useful
+# (XDG = Cross-Desktop Group,
+# more info at https://wiki.archlinux.org/index.php/XDG_Base_Directory)
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_CACHE_HOME="$HOME/.cache"
+export XDG_DATA_HOME="$HOME/.local/share"
+#export XDG_DATA_DIRS="/usr/local/share:/usr/share"
+#export XDG_CONFIG_DIRS="/etc/xdg"
+
+export VIMINIT=":source $XDG_CONFIG_HOME"/vim/vimrc
+
+
+# Fun
+# ======================================================================
+
+echo "Welcome back $LOGNAME"