-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
45 lines (33 loc) · 845 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
39
40
41
42
43
44
45
#
# ZSH configuration
#
# Path to oh-my-zsh installation
export ZSH="$HOME/.oh-my-zsh"
# Enable theme
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="spaceship"
# Define custom folder path
ZSH_CUSTOM="$HOME/dotfiles/custom"
# Enable plugins
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins
plugins=(
colored-man-pages
dotenv
# Custom
zsh-autosuggestions
zsh-syntax-highlighting
)
# Finally load oh-my-zsh
source $ZSH/oh-my-zsh.sh
#
# Profiles
#
[ -f $ZSH_CUSTOM/profiles/work.zsh ] && source $ZSH_CUSTOM/profiles/work.zsh
[ -f $ZSH_CUSTOM/profiles/desktop.zsh ] && source $ZSH_CUSTOM/profiles/desktop.zsh
#
# General configuration
#
# General aliases
[ -f $ZSH_CUSTOM/aliases/general_aliases ] && source $ZSH_CUSTOM/aliases/general_aliases
# Go PATH setup
export PATH=$PATH:/usr/local/go/bin