summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-05-30 18:11:25 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-05-30 18:11:25 +0200
commit0ce9de258802b9c3259083e6f1ab5739e8e51084 (patch)
treedfc12f08249a8af46c3df90f0fa645faa04b89b2 /.config/shell/profile
parentde162b86736ed6dedf4eabdd4a1dbdcbb27915bc (diff)
Somehow got aliasrc working properly
Diffstat (limited to '.config/shell/profile')
-rwxr-xr-x.config/shell/profile6
1 files changed, 5 insertions, 1 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index a78bc45..e1dbf52 100755
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -23,10 +23,14 @@ export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history"
export LESSHIST="-"
-
# Other program settings:
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
+# pyenv
+export PYENV_ROOT="$HOME/.pyenv"
+export PATH="$PYENV_ROOT/bin:$PATH"
+eval "$(pyenv init --path)"
+
if pacman -Qs libxft-bgra >/dev/null 2>&1; then
# Start graphical server on user's current tty if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"