diff options
-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] => ' |