summaryrefslogtreecommitdiff
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
parent8566162ab7da118fb86f3fbd970926d17e7bf94d (diff)
Start using lukes config scheme
-rw-r--r--.config/shell/profile52
l---------[-rw-r--r--].profile53
l---------.zprofile2
3 files changed, 54 insertions, 53 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
diff --git a/.profile b/.profile
index 1196694..2932785 100644..120000
--- a/.profile
+++ b/.profile
@@ -1,52 +1 @@
-#!/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
+/home/lz/.config/shell/profile \ No newline at end of file
diff --git a/.zprofile b/.zprofile
index aa7da3a..2932785 120000
--- a/.zprofile
+++ b/.zprofile
@@ -1 +1 @@
-.profile \ No newline at end of file
+/home/lz/.config/shell/profile \ No newline at end of file