[~] Refactor
This commit is contained in:
		
							parent
							
								
									10be7dc897
								
							
						
					
					
						commit
						d0177e7255
					
				
							
								
								
									
										19
									
								
								docker/js/.zshrc
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										19
									
								
								docker/js/.zshrc
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					# The following lines were added by compinstall
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
 | 
				
			||||||
 | 
					zstyle :compinstall filename '~/.zshrc'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					setopt INC_APPEND_HISTORY SHARE_HISTORY AUTO_PUSHD PUSHD_IGNORE_DUPS
 | 
				
			||||||
 | 
					setopt PROMPTSUBST
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					autoload -Uz compinit
 | 
				
			||||||
 | 
					compinit
 | 
				
			||||||
 | 
					# End of lines added by compinstall
 | 
				
			||||||
 | 
					# Lines configured by zsh-newuser-install
 | 
				
			||||||
 | 
					HISTFILE=~/.histfile
 | 
				
			||||||
 | 
					HISTSIZE=1000000
 | 
				
			||||||
 | 
					SAVEHIST=1000000
 | 
				
			||||||
 | 
					# End of lines configured by zsh-newuser-install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					bindkey -d
 | 
				
			||||||
 | 
					bindkey -v
 | 
				
			||||||
@ -9,4 +9,4 @@ services:
 | 
				
			|||||||
      - ./tmp/cache/js/root-cache:/root/.cache:rw
 | 
					      - ./tmp/cache/js/root-cache:/root/.cache:rw
 | 
				
			||||||
      - ./tmp/cache/js/root-yarn:/root/.yarn:rw
 | 
					      - ./tmp/cache/js/root-yarn:/root/.yarn:rw
 | 
				
			||||||
      - ./docker/js:/app/docker/js:ro
 | 
					      - ./docker/js:/app/docker/js:ro
 | 
				
			||||||
      - ./tmp/cache/js:/app/tmp/cache/js:ro
 | 
					      - ./tmp/cache/js:/app/tmp/cache/js:rw
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,7 @@
 | 
				
			|||||||
corepack enable
 | 
					corepack enable
 | 
				
			||||||
corepack install
 | 
					corepack install
 | 
				
			||||||
# yarn init -2
 | 
					# yarn init -2
 | 
				
			||||||
 | 
					ln -sf /app/docker/js/.zshrc ~/.zshrc
 | 
				
			||||||
 | 
					ln -sf /app/tmp/cache/js/.histfile ~/.histfile
 | 
				
			||||||
export EDITOR=vim
 | 
					export EDITOR=vim
 | 
				
			||||||
exec /usr/bin/zsh -l
 | 
					exec /usr/bin/zsh -l
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user