posh added

This commit is contained in:
herz 2023-03-17 00:19:27 +01:00
parent fbec1d8e3a
commit 663f9b40de
2 changed files with 13 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Run this in TMUX: Run this in TMUX:
- Debian / Ubuntu - Debian / Ubuntu
```bash ```bash
sudo apt install tmux -y sudo apt install tmux gcc unzip -y
wget https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.deb wget https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.deb
sudo dpkg -i nvim-linux64.deb sudo dpkg -i nvim-linux64.deb
git clone https://gitlab.deniedgaming.de/-/ide/project/herz/pgr-linux-defaults.git .pgr-linux-defaults git clone https://gitlab.deniedgaming.de/-/ide/project/herz/pgr-linux-defaults.git .pgr-linux-defaults
@ -19,6 +19,18 @@ tmux source ~/.tmux.conf
ln -s ~/.pgr-linux-defaults/nvim/ ~/.config/nvim ln -s ~/.pgr-linux-defaults/nvim/ ~/.config/nvim
mkdir ~/.local/share/nvim mkdir ~/.local/share/nvim
ln -s ~/.pgr-linux-defaults/nvim_plugins/ ~/.local/share/nvim/plugged ln -s ~/.pgr-linux-defaults/nvim_plugins/ ~/.local/share/nvim/plugged
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
echo $'eval \"$(oh-my-posh init bash) \"' >> ~/.bashrc
echo $'eval \"$( oh-my-posh init bash --config ~/.poshthemes/dracula.omp.json)\"' >> ~/.bashrc
exec bash
``` ```

View File

@ -5,7 +5,6 @@ lsp.preset("recommended")
lsp.ensure_installed({ lsp.ensure_installed({
'tsserver', 'tsserver',
'eslint', 'eslint',
'sumneko_lua',
'rust_analyzer', 'rust_analyzer',
'pyright', 'pyright',
}) })