summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-06-20 15:41:20 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-06-20 15:41:20 +0200
commit1af1306c2c710ffba80c7c033bcef30a36fba51d (patch)
treec2f6e861d4ce54cac4d9ab2e1489a77c5dce1c2d /.config/shell/profile
parentfcb8668fc5435ce5f306a8c218d7c1eb1f4d91e5 (diff)
New zsh config inspired by Chris
Diffstat (limited to '.config/shell/profile')
-rwxr-xr-x.config/shell/profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index e1dbf52..3f3098b 100755
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -19,6 +19,8 @@ export XDG_CACHE_HOME="$HOME/.cache"
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
+export JUPYTER_CONFIG_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/.jupyter"
+export IPYTHONDIR="${XDG_DATA_HOME:-$HOME/.local/share}/.ipython"
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"
@@ -31,6 +33,9 @@ export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
+# Poetry autocompletion
+fpath+=~/.zfunc
+
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"