mod
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
Для упрощения процесса настройки можно воспользоваться [установочным скриптом](install.sh)
|
Для упрощения процесса настройки можно воспользоваться [установочным скриптом](install.sh)
|
||||||
|
|
||||||
```shell
|
```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
|
Скрипт необходимо запукать от имени текущего пользователя с повышенными привилегиями - sudo
|
||||||
|
|||||||
@@ -10,8 +10,11 @@ curl --create-dirs -fLo \
|
|||||||
https://git.da2001.ru/da2001/dots/raw/branch/main/.config/tmux/tmux.conf
|
https://git.da2001.ru/da2001/dots/raw/branch/main/.config/tmux/tmux.conf
|
||||||
|
|
||||||
# Install Oh My Zsh
|
# Install Oh My Zsh
|
||||||
RUNZSH='no'
|
wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
|
||||||
sh -c "$(curl -fsSL 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
|
# Install zsh-syntax-highlighting
|
||||||
echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
|
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
|
sed -i 's/^plugins=.*[^\)]/& zsh-autosuggestions/g' ~/.zshrc
|
||||||
|
|
||||||
# PowerLevel10K
|
# # PowerLevel10K
|
||||||
apt-get install -y fontconfig
|
# apt-get install -y fontconfig
|
||||||
mkdir -p ~/.local/share/fonts
|
# mkdir -p ~/.local/share/fonts
|
||||||
curl -OL https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz
|
# curl -OL https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz
|
||||||
tar -xvf JetBrainsMono.tar.xz -C ~/.local/share/fonts
|
# tar -xvf JetBrainsMono.tar.xz -C ~/.local/share/fonts
|
||||||
rm JetBrainsMono.tar.xz
|
# rm JetBrainsMono.tar.xz
|
||||||
fc-cache
|
# 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
|
# Aliases
|
||||||
cat << EOF >> ~/.aliases
|
cat << EOF >> ~/.aliases
|
||||||
Reference in New Issue
Block a user