-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
35 lines (25 loc) · 817 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
# path to oh-my-zsh
export ZSH="/home/tiago.martins/.oh-my-zsh"
# zsh theme
ZSH_THEME="spaceship"
# Uncomment the following line to display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
# zsh plugins
plugins=(git colored-man-pages colorize compleat extract web-search rand-quote)
# load oh-my-zsh
source $ZSH/oh-my-zsh.sh
# load tmux
case $- in *i*)
if [ -z "$TMUX" ]; then exec tmux; fi;;
esac
# change layout to us and caps to ctrl
# setxkbmap -layout us -option ctrl:nocaps
export EDITOR=nvim
# z jump around
. ~/z/z.sh
# alias to know the size of dirs
alias size='du -sch ./*'
alias docker-dashboard='docker ps -a --format "table {{.Names}}\t{{.Status}}\t{{.Image}}\t{{.Ports}}"'
# load scripts
. ~/.scripts/load.sh ~/.scripts/startup/
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh