Added directory configuration to plug
This commit is contained in:
		
							parent
							
								
									74146fa0c4
								
							
						
					
					
						commit
						439f070b94
					
				
							
								
								
									
										8
									
								
								zsh/modules/directory/init.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								zsh/modules/directory/init.zsh
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					#!/usr/bin/env zsh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					setopt AUTO_CD              # Auto changes to a directory without typing cd.
 | 
				
			||||||
 | 
					setopt AUTO_PUSHD           # Push the old directory onto the stack on cd.
 | 
				
			||||||
 | 
					setopt PUSHD_IGNORE_DUPS    # Do not store duplicates in the stack.
 | 
				
			||||||
 | 
					setopt PUSHD_SILENT         # Do not print the directory stack after pushd or popd.
 | 
				
			||||||
 | 
					setopt PUSHD_TO_HOME        # Push to home directory when no argument is given.
 | 
				
			||||||
 | 
					setopt CDABLE_VARS          # Change directory to a path stored in a variable.
 | 
				
			||||||
| 
						 | 
					@ -33,6 +33,7 @@ zplug "${ZDIR}/modules/fzf/", \
 | 
				
			||||||
      from:local, \
 | 
					      from:local, \
 | 
				
			||||||
      use:"fzf.zsh", \
 | 
					      use:"fzf.zsh", \
 | 
				
			||||||
      as:plugin
 | 
					      as:plugin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
zplug "${ZDIR}/modules/fzf/", \
 | 
					zplug "${ZDIR}/modules/fzf/", \
 | 
				
			||||||
      from:local, \
 | 
					      from:local, \
 | 
				
			||||||
      use:"fzf-tmux", \
 | 
					      use:"fzf-tmux", \
 | 
				
			||||||
| 
						 | 
					@ -42,6 +43,10 @@ zplug "${ZDIR}/modules/history/", \
 | 
				
			||||||
      from:local, \
 | 
					      from:local, \
 | 
				
			||||||
      as:plugin
 | 
					      as:plugin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					zplug "${ZDIR}/modules/directory/", \
 | 
				
			||||||
 | 
					      from:local, \
 | 
				
			||||||
 | 
					      as:plugin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
zplug "${ZDIR}/modules/complete/", \
 | 
					zplug "${ZDIR}/modules/complete/", \
 | 
				
			||||||
      from:local, \
 | 
					      from:local, \
 | 
				
			||||||
      as:plugin
 | 
					      as:plugin
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user