-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc
More file actions
38 lines (29 loc) · 798 Bytes
/
.zshrc
File metadata and controls
38 lines (29 loc) · 798 Bytes
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
# .zshrc
# If not running interactively, don't do anything
[[ -o interactive ]] || return
# Source .zprofile if it exists
[[ -f ~/.zprofile ]] && source ~/.zprofile
# Oh My Zsh path
export ZSH="$HOME/.oh-my-zsh"
# Theme
ZSH_THEME="half-life"
# Plugins
plugins=(
git
colored-man-pages
)
# Load Oh My Zsh
source $ZSH/oh-my-zsh.sh
# Load zsh-autosuggestions
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# Load zsh-syntax-highlighting
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Aliases
alias ls='ls --color=auto'
alias off='sudo shutdown -P now'
alias reboot='sudo reboot'
alias xu='sudo xbps-install -Su'
alias xi='sudo xbps-install -S'
alias xq='sudo xbps-query'
alias xr='sudo xbps-remove -Oov'
alias vsc='code'