Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.42 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.42 KB

dotfiles

How-to-Use

$ git clone https://github.com/luohu1/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles
$ ./install

Zsh

zshenv

variable value description
ZDOTDIR $HOME/.config/zsh zsh startup files
XDG_CONFIG_HOME $HOME/.config XDG Base Directory
XDG_CACHE_HOME $HOME/.cache
XDG_DATA_HOME $HOME/.local/share
HISTFILE "$XDG_CACHE_HOME/zsh/history" zsh command history file path.
ZSH_COMPDUMP "$XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION" Specifying the zcompdump file location in OhMyZsh

Oh My Zsh

export ZSH="$HOME/.local/share/zsh" 
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"