sudo -s
sudo apt-get update
screen
screen --version
gnu-screen
section for more info on how to use screen
zsh
as default shellInstall zsh
sudo apt install zsh
Set password on Ubuntu
sudo passwd ubuntu
Configure to always run shell in zsh
(alternatively, omz will ask)
chsh -s "$(which zsh)"
chsh
omz
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install Git
apt-get install git
Install GH
type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y) curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \ && sudo chmod go+r /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 -y
Generate Git personal credential
Check who you are in the terminal
whoami
Grant permission on directory
sudo chown -R $(whoami) .git/
When not logged in to Git locally, login
gh auth login
Trigger required permission through manual device authentication
gh auth refresh -h github.com -s admin:public_key
Trigger manual device authentication