-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc.aws
executable file
·91 lines (67 loc) · 1.97 KB
/
.zshrc.aws
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
85
86
87
88
89
90
91
#redshift-gtk & #done by i3
PATH=$PATH:~/.cabal/bin:~/misc/dotfiles/bin:~/misc/Jobman/bin
export PATH
PYTHONPATH=$PYTHONPATH:~/misc/Jobman/
export PYTHONPATH
EDITOR=kak
export EDITOR
# The following lines were added by compinstall
plugins+=(zsh-completions)
plugins+=(zsh-highlighters)
bindkey -v
zmodload zsh/zutil
zmodload zsh/complist
zstyle ':completion:*' menu select
zstyle ':completion:*' completer _expand _complete _ignored
#LS_COLORS='no=00;37:fi=00:di=00;33:ln=04;36:pi=40;33:so=01;35:bd=40;33;01:'
LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30'
export LS_COLORS
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
#zstyle ':completion:*' list-colors 'di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30'
zstyle :compinstall filename '~/.zshrc'
autoload -Uz compinit promptinit
autoload -U colors && colors
compinit
promptinit
autoload bashcompinit
bashcompinit
#Prompt
set_prompt () {
PROMPT="%{$fg_bold[white]%}%{$fg_bold[yellow]%}"`date +"%H:%M"`"%{$fg[white]$fg_no_bold[red]%} %c %{$fg_bold[white]%}%# %{$reset_color%}"
}
set_prompt
preexec () {
#set_prompt
timer=$((`date +%s`+`date +%N`/1e9))
}
precmd() {
set_prompt
if [ $timer ]; then
timer_show=$(printf "%0.3f" $((`date +%s`+`date +%N`/1e9-$timer)))
RPROMPT="%F{cyan}${timer_show}%{$reset_color%}"
unset timer
fi
}
#prompt pws
#prompt adam2
#prompt walters
#prompt redhat
#HELP
autoload -U run-help
autoload run-help-git
autoload run-help-svn
autoload run-help-svk
#unalias run-help
alias help=run-help
#ls with color
alias ls='ls --color=auto'
# End of lines added by compinstall
#avoid freezing
ttyctl -f
#Adjust X keyboard rate
#xset r rate 200 60
#FASD
eval "$(fasd --init auto)"
export PATH=/usr/local/cuda-7.5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:
. /usr/local/bin/virtualenvwrapper.sh