pgr-linux-defaults/README.md

1.2 KiB

#pgr-terminal-defaults

Run this in TMUX:

  • Debian / Ubuntu
sudo apt install git curl tmux gcc g++ unzip zsh -y
git clone git@git.deniedgaming.de:herz/pgr-linux-defaults.git .pgr-linux-defaults
cd .pgr-linux-defaults

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
ln ~/.pgr-linux-defaults/.tmux.conf ~/.tmux.conf
ln -s ~/.pgr-linux-defaults/.tmux ~/.tmux
tmux source ~/.tmux.conf
mkdir ~/.config

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
mv ~/.zshrc ~/.zshrc_pre_pgr_defaults
ln ~/.pgr-linux-defaults/.zshrc ~/.zshrc
touch ~/.pgr-linux-defaults/.zshrc_manual

sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
sudo chmod +x /usr/local/bin/oh-my-posh
mkdir ~/.poshthemes
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip -O ~/.poshthemes/themes.zip
unzip ~/.poshthemes/themes.zip -d ~/.poshthemes
chmod u+rw ~/.poshthemes/*.omp.*
rm ~/.poshthemes/themes.zip

chsh -s $(which zsh)
exec zsh

TMUX:

press prefix + I to install the Plugins

press prefix + U to upgrade the Plugins