Fixing bug

This commit is contained in:
araison 2024-01-21 20:09:11 +01:00
parent 5c8afbad6f
commit 2957e35a69
3 changed files with 32 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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")