Skip to content

Instantly share code, notes, and snippets.

@Gmousse
Last active July 16, 2024 11:27
Show Gist options
  • Save Gmousse/858e63288c92b0947779fa5458130adf to your computer and use it in GitHub Desktop.
Save Gmousse/858e63288c92b0947779fa5458130adf to your computer and use it in GitHub Desktop.
My script to install my Manjaro laptop
#! /bin/bash
# Copyright (c) 2018 Guillaume Mousnier
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# To use it:
# - bash -c "$(curl https://gist.githubusercontent.com/Gmousse/858e63288c92b0947779fa5458130adf/raw/install-code.sh)"
sudo pamac update --no-confirm
sudo pamac install --no-confirm tilix vim firefox-developer-edition firefox-developer-edition-i18n-fr zsh base-devel htop docker docker-compose ansible
sudo pamac install --no-confirm ttf-fira-code kubectx kubectl stern thunderbird pyenv nvm
sudo pamac remove --no-confirm firefox
pamac build --no-confirm gitflow-avh keeweb-desktop-bin visual-studio-code-bin
sudo systemctl enable docker
sudo usermod -aG docker $USER
git clone https://gist.github.com/Gmousse/3a3b641803397260520b1196045cb9b6 .my-own-zshrc
echo "source ~/.my-own-zshrc/.zshrc" > ~/.zshrc
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment