-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
79 lines (65 loc) · 2.47 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
export PATH=$PATH:$HOME/.composer/vendor/bin:./vendor/bin
DEFAULT_USER="$USER"
# When using cd check the current dir, parent dir and home dir
export CDPATH=:.:..:~
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="agnoster"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
git
common-aliases
composer
zsh-autosuggestions
command-not-found
laravel
zsh-syntax-highlighting
extract
command-not-found
colored-man-pages
pj
safe-paste
thefuck
yarn
zsh-navigation-tools
cp
)
if [ "$WARP_FEATURE_FLAG_HONOR_PS1" != 1 ]; then
plugins+=(timer)
fi
# Load additional plugins and configuration before loading oh-my-zsh
[ -f $HOME/.additional_plugins ] && source $HOME/.additional_plugins
# Load oh-my-zsh
source $ZSH/oh-my-zsh.sh
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
export EDITOR='vim'
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
[ -f $HOME/.aliases ] && source $HOME/.aliases
source $HOME/.general_aliases
if [[ "$OSTYPE" == "linux-gnu" ]]; then
[ -f $HOME/.linux_aliases ] && source $HOME/.linux_aliases
elif [[ "$OSTYPE" == "darwin"* ]]; then
[ -f $HOME/.osx_aliases ] && source $HOME/.osx_aliases
fi
# Load iterm2 shell integration if you're using iterm2
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"