Skip to content

Instantly share code, notes, and snippets.

@henriqwe
Last active December 12, 2023 19:17
Show Gist options
  • Save henriqwe/976df54dd477670702cbce4312465a6e to your computer and use it in GitHub Desktop.
Save henriqwe/976df54dd477670702cbce4312465a6e to your computer and use it in GitHub Desktop.
Configuracao base do manjaro (PECEGE)

Habilitar varios downloads em paralelo

sudo nano /etc/pacman.conf
  • Procurar, descomentar a linha e por o valor a baixo

    ParallelDownload = 100

Atualizar

sudo pacman-mirrors -f && sudo pacman -Syyuu

Instalar com pacman

sudo pacman -S --needed base-devel fish git timeshift yay discord starship flameshot peek ttf-fira-code

Instalar com yay

yay -S google-chrome asdf-vm visual-studio-code-bin teams zoom

Configurando fish & starship

mkdir ~/.config/fish
echo set fish_greeting > ~/.config/fish/config.fish
echo source /opt/asdf-vm/asdf.fish >> ~/.config/fish/config.fish
echo "starship init fish | source" >> ~/.config/fish/config.fish
  • Por fish como shell default

    echo /usr/local/bin/fish | sudo tee -a /etc/shells
    chsh -s /usr/bin/fish
  • Reinicie o computador

Configurando nodejs

asdf plugin add nodejs
asdf install nodejs latest && asdf install nodejs 16.18.0 && asdf global nodejs latest && asdf reshim
  • Abra um novo terminal

    corepack enable && asdf reshim && yarn -v

Habilitar o foco com mousehover

Tweaks > Windows > Focus on Hover

Alias

  • Para exibir o IP local

    alias myip="nmcli device show | grep IP4.ADDRESS | head -1 | awk '{print $2}' | rev | cut -c 4- | rev"
    funcsave myip

Gnome extensions

Definindo username e email do git

git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "MY_NAME@example.com"

SSH Azure

Ativar Swap

⚠️ Atenção
Por fim faça um backup com timeshift !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment