-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
47 lines (34 loc) · 1.15 KB
/
.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
46
47
# Setting $PATH
export PATH=$HOME/bin:/usr/local/bin:$HOME/Dotfiles/bin:$PATH
# Path to the oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# ZSH theme to display.
ZSH_THEME="spaceship"
# Enable command auto-correction.
ENABLE_CORRECTION="true"
# Display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
# Disable marking untracked files as dirty.
DISABLE_UNTRACKED_FILES_DIRTY="true"
# History time stamps
HIST_STAMPS="yyyy-mm-dd"
# Oh-my-zsh plugins
plugins=( git docker cp zsh-syntax-highlighting )
# Spaceship settings
SPACESHIP_PROMPT_ORDER=( time user host dir git )
SPACESHIP_DOCKER_SHOW=true
# Sourcing oh-my-zsh and other shell helpers
source $ZSH/oh-my-zsh.sh
source $HOME/.zsh_exports
source $HOME/.zsh_aliases
source $HOME/Dotfiles/bin/*
M2_HOME="/opt/apache-maven-3.6.3"
JAVA_HOME="/usr/lib/jvm/java-11-amazon-corretto"
# Enable rainbow
export CLICOLOR=1
export LSCOLORS=gx
alias l='ls | lolcat'
alias la='ls -la | lolcat'
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion