Initial commit
This commit is contained in:
		
							
								
								
									
										9
									
								
								zshenv
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								zshenv
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | # zsh environment variables | ||||||
|  | export XDG_CACHE_HOME="$HOME"/.cache | ||||||
|  | export XDG_CONFIG_HOME="$HOME"/.config | ||||||
|  | export XDG_DATA_HOME="$HOME"/.local/share | ||||||
|  | export XDG_STATE_HOME="$HOME"/.local/state | ||||||
|  |  | ||||||
|  | export EDITOR='nvim' | ||||||
|  |  | ||||||
|  | ZDOTDIR="${XDG_CONFIG_HOME}/zsh" | ||||||
							
								
								
									
										18
									
								
								zshrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								zshrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | |||||||
|  | # Zsh options for all users | ||||||
|  |  | ||||||
|  | # enable extended globbing | ||||||
|  | setopt extended_glob | ||||||
|  |  | ||||||
|  | # autoload misc files | ||||||
|  | for dotfile in "$ZDOTDIR"/*(D); do | ||||||
|  |     source $dotfile | ||||||
|  | done | ||||||
|  |  | ||||||
|  | # Check history file | ||||||
|  | if [[ ! -f "${HISTFILE}" ]]; then | ||||||
|  |     mkdir -p "${HISTFILE%/*}" | ||||||
|  |     touch "${HISTFILE}" | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | # vim-like keybindings | ||||||
|  | bindkey -v | ||||||
		Reference in New Issue
	
	Block a user