mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Improve zsh variable usage
This commit is contained in:
parent
96a00e61d1
commit
962459356b
3
.profile
3
.profile
@ -2,7 +2,8 @@ export LC_ALL=en_GB.UTF-8
|
||||
export LANG=en_GB.UTF-8
|
||||
export LC_NUMERIC=en_GB
|
||||
|
||||
export DOTFILES=~/.config/dotfiles
|
||||
export CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
export DOTFILES=$CONFIG_DIR/dotfiles
|
||||
export PATH="${PATH}:$DOTFILES/scripts"
|
||||
export XDG_CURRENT_DESKTOP="GNOME" # Fixes xdg-open
|
||||
|
||||
|
7
.zshrc
7
.zshrc
@ -7,7 +7,12 @@ ZSH=/usr/share/oh-my-zsh
|
||||
ZSH_THEME="fishy"
|
||||
DISABLE_AUTO_UPDATE="true"
|
||||
|
||||
HISTFILE=~/.config/zsh-histfile
|
||||
CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
ZSH_CONFIG_DIR=$CONFIG_DIR/zsh
|
||||
ZSH_CACHE_DIR=$CONFIG_DIR/oh-my-zsh/cache
|
||||
mkdir -p $ZSH_CACHE_DIR $ZSH_CONFIG_DIR
|
||||
|
||||
HISTFILE=$ZSH_CONFIG_DIR/histfile
|
||||
HISTSIZE=100000
|
||||
SAVEHIST=100000
|
||||
setopt appendhistory autocd extendedglob
|
||||
|
Loading…
Reference in New Issue
Block a user