-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
38 lines (28 loc) · 844 Bytes
/
.zshrc
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
# Set language locale
export LANG=en_US.UTF-8
# Path to python local site-packages.
export PATH=$PATH:$HOME/.local/bin
# Path to Flutter.
export PATH=$PATH:$HOME/flutter/bin
# Path to oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# ZSH theme.
ZSH_THEME="af-magic"
# Plugins for ZSH. Warning: Too many plugins slow down shell startup.
plugins=(
git
zsh-autosuggestions
zsh-completions
zsh-syntax-highlighting
autoswitch_virtualenv
)
# Load oh-my-zsh.
source $ZSH/oh-my-zsh.sh
# Load completions for zsh.
autoload -U compinit && compinit
# Show files/folders vertically and produce a colored output.
alias ls="ls -pA --group-directories-first --color=always"
# Always prompt before removing the file.
alias rm="rm -i"
# Autostart daemon before GPIO test.
alias gpiotest="sudo pigpiod && source $HOME/gpiotest"