Восстановлен файл
This commit is contained in:
		
							
								
								
									
										30
									
								
								15-options.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								15-options.zsh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
				
			|||||||
 | 
					# shellcheck shell=bash
 | 
				
			||||||
 | 
					# vim: ft=sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					setopt AUTO_PUSHD           # Push the current directory visited on the stack.
 | 
				
			||||||
 | 
					setopt PUSHD_IGNORE_DUPS    # Do not store duplicates in the stack.
 | 
				
			||||||
 | 
					setopt PUSHD_SILENT         # Do not print the directory stack after pushd or popd.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					autoload -Uz allopt zed zmv zcalc colors is-at-least
 | 
				
			||||||
 | 
					colors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					zmodload zsh/terminfo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					autoload -Uz edit-command-line
 | 
				
			||||||
 | 
					zle -N edit-command-line
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					autoload -Uz select-word-style
 | 
				
			||||||
 | 
					select-word-style shell
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -z ${DISABLE_MAGIC_FUNCTIONS+set} ]; then
 | 
				
			||||||
 | 
						if is-at-least 5.1; then
 | 
				
			||||||
 | 
							autoload -Uz bracketed-paste-magic
 | 
				
			||||||
 | 
							zle -N bracketed-paste bracketed-paste-magic
 | 
				
			||||||
 | 
						fi
 | 
				
			||||||
 | 
						autoload -Uz url-quote-magic
 | 
				
			||||||
 | 
						zle -N self-insert url-quote-magic
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Подсветка вывода основных команд
 | 
				
			||||||
 | 
					if [[ -r /etc/grc.zsh ]]; then source /etc/grc.zsh; fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user