-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
executable file
·84 lines (59 loc) · 1.78 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
80
81
82
83
84
#-------------------------------------------------------------------------------
# Antigen
#-------------------------------------------------------------------------------
PATH=/home/tomek/git/bin:$PATH:/usr/libexec/busybox/sbin:/f/git/gg/bin
fpath=(~/.zsh $fpath)
ANTIGEN_DEFAULT_REPO_URL=https://github.com/tomek/oh-my-zsh
source /f/git/antigen/antigen.zsh
# Glowny lib omz
antigen-use oh-my-zsh
# Pluginy
antigen-bundles <<EOBUNDLES
# git related stuff
git
# git-extras
# lazy mode on
extract
# history search
history-substring-search
# a must have completions
zsh-users/zsh-completions
psprint/zsh-navigation-tools
EOBUNDLES
# Moj theme
# antigen-theme ~/.zsh/theme/tomkowy.zsh-theme
antigen-theme ~/.zsh/theme --loc=tomkowy --no-local-clone
# Odpal Antigena
antigen-apply
#-------------------------------------------------------------------------------
# Czas na czary ZSH
#-------------------------------------------------------------------------------
autoload -U compinit; compinit -i;
autoload -U promptinit; promptinit;
autoload -U zmv
setopt notify
setopt inc_append_history
setopt share_history
setopt hist_expire_dups_first
setopt hist_ignore_all_dups
setopt hist_reduce_blanks
HISTSIZE=10000
SAVEHIST=8500
zmodload zsh/terminfo
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
autoload -U url-quote-magic
zle -N self-insert url-quote-magic
autoload -Uz git-escape-magic
git-escape-magic
#-------------------------------------------------------------------------------
# Rozne
#-------------------------------------------------------------------------------
# Skrociki
git=/f/git
mozb=/f/mozilla-build
gtk=/f/gtk-build
# Aliasy
source ~/.zsh/aliasiki.zsh
# Kolorki
eval $( dircolors -b $git/LS_COLORS/LS_COLORS )