summaryrefslogtreecommitdiff
path: root/.config/shell
diff options
context:
space:
mode:
Diffstat (limited to '.config/shell')
-rwxr-xr-x.config/shell/aliasrc5
-rwxr-xr-x.config/shell/profile5
2 files changed, 7 insertions, 3 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index 8c72621..47fb4a9 100755
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -15,7 +15,7 @@ done
alias \
cp="cp -iv" \
mv="mv -iv" \
- rm="rm -vI" \
+ rm="rm -viI" \
bc="bc -ql" \
mkd="mkdir -pv" \
ffmpeg="ffmpeg -hide_banner"
@@ -32,11 +32,10 @@ alias \
gpuwatch="watch -n1 nvidia-smi" \
zshconfig="nvim ~/.zshrc" \
zrc="nvim ~/.zshrc" \
- zsource="source ~/.zshrc" \
+ zsource="source $HOME/.config/zsh/.zshrc" \
sdn="sudo shutdown -h now" \
e="$EDITOR" \
v="$EDITOR" \
p="sudo pacman" \
config="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME" \
- tmux="tmux -f $XDG_CONFIG_HOME/tmux/.tmux.conf" \
z="zathura"
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"