Artem Dolgiy 2025-01-10 10:02:36 +03:00
parent 725d7b8a72
commit ee24049ccc
2 changed files with 15 additions and 12 deletions

View File

@ -24,7 +24,7 @@
Для упрощения процесса настройки можно воспользоваться [установочным скриптом](install.sh)
```shell
wget https://git.da2001.ru/da2001/dots/raw/branch/main/install.sh
wget https://git.da2001.ru/da2001/dots/raw/branch/main/tmux_zsh_install.sh
```
Скрипт необходимо запукать от имени текущего пользователя с повышенными привилегиями - sudo

View File

@ -10,8 +10,11 @@ curl --create-dirs -fLo \
https://git.da2001.ru/da2001/dots/raw/branch/main/.config/tmux/tmux.conf
# Install Oh My Zsh
RUNZSH='no'
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
RUNZSH='no' sh install.sh
rm install.sh
sed -i 's/^ZSH_THEME=.*/ZSH_THEME="tjkirch"/g' ~/.zshrc
# Install zsh-syntax-highlighting
echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
@ -21,17 +24,17 @@ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-m
sed -i 's/^plugins=.*[^\)]/& zsh-autosuggestions/g' ~/.zshrc
# PowerLevel10K
apt-get install -y fontconfig
mkdir -p ~/.local/share/fonts
curl -OL https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz
tar -xvf JetBrainsMono.tar.xz -C ~/.local/share/fonts
rm JetBrainsMono.tar.xz
fc-cache
# # PowerLevel10K
# apt-get install -y fontconfig
# mkdir -p ~/.local/share/fonts
# curl -OL https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz
# tar -xvf JetBrainsMono.tar.xz -C ~/.local/share/fonts
# rm JetBrainsMono.tar.xz
# fc-cache
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
sed -i 's/^ZSH_THEME=.*/ZSH_THEME="powerlevel10k\/powerlevel10k"/g' ~/.zshrc
# sed -i 's/^ZSH_THEME=.*/ZSH_THEME="powerlevel10k\/powerlevel10k"/g' ~/.zshrc
# Aliases
cat << EOF >> ~/.aliases