Fixing bug
This commit is contained in:
		
							parent
							
								
									5c8afbad6f
								
							
						
					
					
						commit
						2957e35a69
					
				
					 3 changed files with 32 additions and 2 deletions
				
			
		| 
						 | 
					@ -46,7 +46,7 @@ do
 | 
				
			||||||
  bash ${file}
 | 
					  bash ${file}
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
echo "Installing dotfiles"
 | 
					echo "Installing dotfiles"
 | 
				
			||||||
for file in program/dotfiles/**/*.sh
 | 
					for file in programs/dotfiles/**/*.sh
 | 
				
			||||||
do
 | 
					do
 | 
				
			||||||
  bash ${file}
 | 
					  bash ${file}
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,2 +1,32 @@
 | 
				
			||||||
 | 
					#/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					unameOut="$(uname -s)"
 | 
				
			||||||
 | 
					case "${unameOut}" in
 | 
				
			||||||
 | 
					    Linux*)     
 | 
				
			||||||
 | 
					      machine=Linux;;
 | 
				
			||||||
 | 
					    Darwin*)    
 | 
				
			||||||
 | 
					      machine=Mac;;
 | 
				
			||||||
 | 
					    CYGWIN*)    
 | 
				
			||||||
 | 
					      machine=Cygwin;;
 | 
				
			||||||
 | 
					    MINGW*)     
 | 
				
			||||||
 | 
					      machine=MinGw;;
 | 
				
			||||||
 | 
					    MSYS_NT*)   
 | 
				
			||||||
 | 
					      machine=Git;;
 | 
				
			||||||
 | 
					    *)          
 | 
				
			||||||
 | 
					      machine="UNKNOWN:${unameOut}"
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ "$machine" = "Mac" ]
 | 
				
			||||||
 | 
					then
 | 
				
			||||||
brew tap homebrew/cask-fonts
 | 
					brew tap homebrew/cask-fonts
 | 
				
			||||||
brew install font-hack-nerd-font
 | 
					brew install font-hack-nerd-font
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ "$machine" = "Linux" ]
 | 
				
			||||||
 | 
					then
 | 
				
			||||||
 | 
					echo "[-] Download fonts [-]"
 | 
				
			||||||
 | 
					wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/DroidSansMono.zip
 | 
				
			||||||
 | 
					unzip DroidSansMono.zip -d ~/.fonts
 | 
				
			||||||
 | 
					fc-cache -fv
 | 
				
			||||||
 | 
					echo "done!"
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,4 +7,4 @@ function install {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
python_packages = (numpy matplotlib scipy seaborn django torch torchvision torchaudio networkx Faker torch-cluster torch-geometric torch-scatter torch-sparse torch-spline-conv tqdm yapf yt-dlp scikit-learn scikit-image pandas 'python3-lsp-server[all]' pynvim pylsp-mypy python-lsp-isort python-lsp-black pylint flake8)
 | 
					python_packages=("numpy" "matplotlib" "scipy" "seaborn" "django" "torch" "torchvision" "torchaudio" "networkx" "Faker" "torch-cluster" "torch-geometric" "torch-scatter" "torch-sparse" "torch-spline-conv" "tqdm" "yapf" "yt-dlp" "scikit-learn" "scikit-image" "pandas" "python3-lsp-server[all]" "pynvim" "pylsp-mypy" "python-lsp-isort" "python-lsp-black" "pylint" "flake8")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue