-
Notifications
You must be signed in to change notification settings - Fork 1
/
dotfiles.sh
39 lines (29 loc) · 871 Bytes
/
dotfiles.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
#
# Install Zsh and set as default shell
# Install dotfiles and configure git
source ./install/utils.sh
# Install Zsh:
yay -Sy install zsh
# Install oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
# Install some external plugins:
yay -Sy zsh-autosuggestions
yay -Sy zsh-completions
yay -Sy zsh-fast-syntax-highlighting
# Install iconic font for Zsh
# See more: https://nerdfonts.com/
yay -Sy nerd-fonts-jetbrains-mono
# Install Powerlevel10k theme
yay -Sy zsh-theme-powerlevel10k
# Set Zsh as your default shell:
chsh -s /bin/zsh
# Move/replace setting files to /Home
replace ".gitconfig" ".gitconfig"
replace ".gitignore_global" ".gitignore_global"
replace ".zshrc" ".zshrc"
# Git configs
e_header "Configure your Git settings: "
nano ${HOME}/.gitconfig
# Finish
e_success "Dotfiles update complete."