summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-08 01:45:44 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-08 01:45:44 -0700
commit49aecca501d32ddb50a51fc1bcf2980a6943c217 (patch)
treec05e5df544ddd43d80d432d21d678d1ecbd50abf /.config/shell/profile
parent8566162ab7da118fb86f3fbd970926d17e7bf94d (diff)
Start using lukes config scheme
Diffstat (limited to '.config/shell/profile')
-rw-r--r--.config/shell/profile52
1 files changed, 52 insertions, 0 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
new file mode 100644
index 0000000..1196694
--- /dev/null
+++ b/.config/shell/profile
@@ -0,0 +1,52 @@
+#!/bin/sh
+
+##--Environment variables--##
+ ## Modified env vars.
+export PATH="$PATH:$(du -L "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
+
+ ## Default programs.
+export EDITOR="nvim"
+export TERMINAL="alacritty"
+export BROWSER="firefox"
+export READER="zathura"
+export FILE="ranger"
+export STATUSBAR="i3blocks"
+export MUSIC="spotify"
+export MAILMGR="thunderbird"
+export MSGCHAT="telegram-desktop"
+export SSMGR="flameshot"
+
+ ## ~/ cleanup.
+export ZDOTDIR="$HOME/.config/zsh"
+
+ ## Ranger.
+export RANGER_LOAD_DEFAULT_RC=FALSE
+
+ ## CUDA.
+export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/cuda/lib64"
+
+ ## Tensorflow.
+export TF_CPP_MIN_LOG_LEVEL="0"
+ # 0 = all messages are logged (default behavior)
+ # 1 = INFO messages are not printed
+ # 2 = INFO and WARNING messages are not printed
+ # 3 = INFO, WARNING, and ERROR messages are not printed
+
+ ## Ruby
+if command -v ruby >/dev/null 2>&1; then
+ export PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
+fi
+
+ ## Jupyter lab.
+export JUPYTER_CONFIG_DIR=$HOME/.config/jupyter
+export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab
+
+ ## iPython.
+export IPYTHONDIR=$HOME/.config/ipython
+
+ ## TexLive.
+export TEXMFDIST=/usr/share/texmf-dist
+export TEXMFHOME=$HOME/.local/share/texmf
+
+ ## qBittorrent.
+export QT_AUTO_SCREEN_SCALE_FACTOR=0