Last active
March 21, 2022 18:16
-
-
Save hagope/c56734a5ecd6ce1426eeb7f4f1b532ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# install lazy git | |
# https://github.com/jesseduffield/lazygit#ubuntu | |
sudo add-apt-repository ppa:lazygit-team/release | |
sudo apt-get update | |
sudo apt-get install lazygit | |
# install gh cli | |
# https://github.com/cli/cli/blob/trunk/docs/install_linux.md | |
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg | |
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null | |
sudo apt update | |
sudo apt install gh | |
echo "alias lg='lazygit'" >> ~/.bash_aliases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment