-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
71 lines (58 loc) · 2.22 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
# Custom search engines
ZSH_WEB_SEARCH_ENGINES=(
dpl "https://www.drupal.org/project/"
dnode "https://www.drupal.org/node/"
dapi "https://api.drupal.org/search/site/"
dcode "https://git.drupalcode.org/project/"
dissue "https://www.drupal.org/project/issues/"
dsearch "https://www.drupal.org/search/site/"
dstack "http://drupal.stackexchange.com/search?q="
bitbucket "https://bitbucket.org/dashboard/repositories?search="
trans "https://translate.google.gr/?source=osdd#auto|auto|"
video "https://www.youtube.com/results?search_query="
gist "https://gist.github.com/search?q="
mygh "https://github.com/theodorosploumis?utf8=✓&tab=repositories&q="
drive "https://drive.google.com/drive/search?q="
icon "https://www.flaticon.com/search?license=selection&order_by=4&color=1&stroke=1&grid=big&word="
stack "https://stackoverflow.com/search?q="
)
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
# ZSH_THEME="fishy"
ZSH_THEME="simple"
COMPLETION_WAITING_DOTS="true"
HIST_STAMPS="dd/mm/yyyy"
plugins=(common-aliases z web-search ubuntu extract docker zsh-syntax-highlighting history-substring-search)
# You may need to manually set your language environment
export LANG=en_US.UTF-8
# User configuration
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/$PATH
# Composer
export PATH="$HOME/.config/composer/vendor/bin:$PATH"
# Default editor (used on tmux etc)
export EDITOR='vim'
# phpbrew
export PHPBREW_RC_ENABLE=1
export PHPBREW_SET_PROMPT=0
[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc
# rvm
export PATH="$PATH:$HOME/.rvm/bin"
# Path to default oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
source $ZSH/oh-my-zsh.sh
# These settings should always came last!
source $ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $ZSH_CUSTOM/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
# Highlighting
HISTCONTROL=ignoredups:ignorespace
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets root)
# bind UP and DOWN arrow keys
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
# Aliases
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# z search
if [ -f ~/z.sh ]; then
. ~/z.sh
fi