From 40488769c697ba9ef5bb0d05344d82471ee2597f Mon Sep 17 00:00:00 2001 From: araison Date: Sun, 21 Jan 2024 19:41:43 +0100 Subject: [PATCH] Fixing bug --- setup/install.sh | 4 ++-- setup/programs/others/python3-libs/packages.sh | 2 +- setup/programs/package_manager/apt/others/nodejs.sh | 2 ++ setup/programs/package_manager/apt/packages.sh | 2 +- setup/programs/package_manager/brew/packages.sh | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 setup/programs/package_manager/apt/others/nodejs.sh diff --git a/setup/install.sh b/setup/install.sh index a0be899..90b45c2 100644 --- a/setup/install.sh +++ b/setup/install.sh @@ -19,14 +19,14 @@ esac if [ "$machine" = "Mac" ] then - pkg_manager = 'brew' + pkg_manager='brew' echo "Installing brew package manager" bash realpath program/package_manager/brew/install_brew.sh fi if [ "$machine" = "Linux" ] then - pkg_manager = "apt" + pkg_manager="apt" fi diff --git a/setup/programs/others/python3-libs/packages.sh b/setup/programs/others/python3-libs/packages.sh index b5089e8..eda4a90 100644 --- a/setup/programs/others/python3-libs/packages.sh +++ b/setup/programs/others/python3-libs/packages.sh @@ -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) +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) diff --git a/setup/programs/package_manager/apt/others/nodejs.sh b/setup/programs/package_manager/apt/others/nodejs.sh new file mode 100644 index 0000000..68ade61 --- /dev/null +++ b/setup/programs/package_manager/apt/others/nodejs.sh @@ -0,0 +1,2 @@ +curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - &&\ +sudo apt-get install -y nodejs diff --git a/setup/programs/package_manager/apt/packages.sh b/setup/programs/package_manager/apt/packages.sh index ff1893e..d112406 100644 --- a/setup/programs/package_manager/apt/packages.sh +++ b/setup/programs/package_manager/apt/packages.sh @@ -11,7 +11,7 @@ function install { -apt_packages = (curl exfat-utils git htop tmux gimp inkscape texlive-full stow vlc blender gparted docker.io docker-compose python3-pip wget tree) +apt_packages = (curl exfat-utils git htop tmux gimp inkscape texlive-full stow vlc blender gparted docker.io docker-compose python3-pip wget tree universal-ctags) sudo apt update diff --git a/setup/programs/package_manager/brew/packages.sh b/setup/programs/package_manager/brew/packages.sh index 4dd8dfa..6302be5 100644 --- a/setup/programs/package_manager/brew/packages.sh +++ b/setup/programs/package_manager/brew/packages.sh @@ -16,7 +16,7 @@ function install { cask_packages = (gimp thunderbird firefox zotero rectangle vlc iterm2 inkscape obsidian blender mactex bitwarden visual-studio-code spotify) -other_packages = (neovim tmux docker docker-compose git curl zsh stow tree) +other_packages = (neovim tmux docker docker-compose git curl zsh stow tree node universal-ctags) brew update