50 lines
1.5 KiB
Markdown
50 lines
1.5 KiB
Markdown
#pgr-terminal-defaults
|
|
|
|
Run this in TMUX:
|
|
- Debian / Ubuntu
|
|
```bash
|
|
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
|
|
|
|
|
|
mkdir ~/.ssh
|
|
ln ~/.pgr-linux-defaults/ssh_config ~/.ssh/config
|
|
|
|
|
|
# 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
|
|
|
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
|
ln ~/.pgr-linux-defaults/.p10k.zsh ~/.p10k.zsh
|
|
|
|
chsh -s $(which zsh)
|
|
exec zsh
|
|
```
|
|
|
|
|
|
TMUX:
|
|
|
|
press prefix + I to install the Plugins
|
|
|
|
press prefix + U to upgrade the Plugins
|
|
|
|
|