diff options
author | self <self@sateoki.xyz> | 2022-02-19 16:37:25 +0000 |
---|---|---|
committer | self <self@sateoki.xyz> | 2022-02-19 16:37:25 +0000 |
commit | ca86889c0efecbaa59d55e8168a547a2a2e2b1fd (patch) | |
tree | 5a129fc06b19ce803134f8d6736dc9e45ef1449f /zsh | |
parent | 498f2d678a647974687aa62c42a709defcbfcd76 (diff) |
Moved zshrc path configs to zshenv to be able to remove zshrc from $HOME
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshenv | 12 | ||||
-rw-r--r-- | zsh/.zshrc | 7 |
2 files changed, 12 insertions, 7 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv index ba38a01..9b2dbdd 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -1 +1,11 @@ -## +# XDG Directories +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CACHE_HOME="$HOME/.cache" + +# Path Directories +export PATH="$PATH:$HOME/.local/bin" + +# ZSH Directories +export ZDOTDIR=$XDG_CONFIG_HOME/zsh +export ZSH_CACHE_DIR="$XDG_CACHE_HOME/zsh" @@ -1,5 +1,5 @@ # History -HISTFILE=~/.config/zsh/zsh_history +HISTFILE=$ZDOTDIR/zsh_history HISTSIZE=1001 SAVEHIST=1000 setopt HIST_EXPIRE_DUPS_FIRST @@ -16,9 +16,6 @@ unsetopt beep bindkey -v zstyle :compinstall filename "$HOME/.zshrc" -# Path -export PATH="$PATH:$HOME/.local/bin" - # Configuring applications to use nvidia GPU alias pmpv="prime-run mpv" @@ -38,8 +35,6 @@ alias newsboat="newsboat -u ~/.config/newsboat/urls" # alias less='less --lesskey-file=$XDG_CONFIG_HOME/lesskey' # alias man='man --pager="less --lesskey-file=$XDG_CONFIG_HOME/lesskey"' - - # Changing Default Prompt # PS1='[%F{#ff0000}%n%f %F{#6a0dad}%1d%f] ' PS1='[%F{#1111ee}%1d%f] => ' |