create .zshrc
This commit is contained in:
		
							parent
							
								
									63179c1fa4
								
							
						
					
					
						commit
						d84bf84951
					
				
							
								
								
									
										56
									
								
								.zshrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								.zshrc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,56 @@ | |||||||
|  | if [[ -r /usr/share/zsh/functions/command-not-found.zsh ]]; then | ||||||
|  |     source /usr/share/zsh/functions/command-not-found.zsh | ||||||
|  |     export PKGFILE_PROMPT_INSTALL_MISSING=1 | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | if [[ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]]; then | ||||||
|  |     source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | if [[ -f /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh ]]; then | ||||||
|  |     source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh | ||||||
|  |     zmodload zsh/terminfo | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | setopt correct | ||||||
|  | setopt extendedglob | ||||||
|  | setopt appendhistory | ||||||
|  | setopt inc_append_history | ||||||
|  | 
 | ||||||
|  | autoload -Uz vcs_info | ||||||
|  | 
 | ||||||
|  | autoload -U compinit colors zcalc | ||||||
|  | compinit -d | ||||||
|  | colors | ||||||
|  | 
 | ||||||
|  | PS1="%F{blue}%n %F{yellow}%~ %F{red}λ %f" | ||||||
|  | 
 | ||||||
|  | HISTSIZE=10000 | ||||||
|  | HISTFILE="$HOME/.history" | ||||||
|  | SAVEHIST=$HISTSIZE | ||||||
|  | 
 | ||||||
|  | alias ls="ls --color=auto" | ||||||
|  | alias ll="ls -lah" | ||||||
|  | 
 | ||||||
|  | alias grep="grep --color=auto" | ||||||
|  | alias egrep="egrep --color=auto" | ||||||
|  | alias fgrep="fgrep --color=auto" | ||||||
|  | 
 | ||||||
|  | alias wget="wget -c" | ||||||
|  | 
 | ||||||
|  | alias pacman="sudo pacman --color auto" | ||||||
|  | 
 | ||||||
|  | function weather() { curl "wttr.in/$1"; } | ||||||
|  | alias weather=weather | ||||||
|  | 
 | ||||||
|  | # Use powerline | ||||||
|  | #USE_POWERLINE="true" | ||||||
|  | # Source manjaro-zsh-configuration | ||||||
|  | #if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then | ||||||
|  | #  source /usr/share/zsh/manjaro-zsh-config | ||||||
|  | #fi | ||||||
|  | # Use manjaro zsh prompt | ||||||
|  | #if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then | ||||||
|  | #  source /usr/share/zsh/manjaro-zsh-prompt | ||||||
|  | #fi | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Luddifee
						Luddifee