-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
51 lines (37 loc) · 994 Bytes
/
.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
#la color
export CLICOLOR=true
export LSCOLORS=gxfxcxdxbxegedabagacag
export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=36;01:cd=33;01:su=31;40;07:sg=36;40;07:tw=32;40;07:ow=33;40;07:'
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
case "${OSTYPE}" in
darwin*)
# Mac
alias ls="ls -GF"
;;
linux*)
# Linux
alias ls='ls -F --color'
;;
esac
##hokan
autoload -Uz compinit
compinit
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
#prompt
PROMPT='[%n@%m %~]'
#set "tab" config
setopt auto_list
setopt auto_menu
#command run date,time memory
setopt extended_history
#set comannd after =
setopt magic_equal_subst
export EDITOR=vim
export LANG=ja_JP.UTF-8
##alias
alias python='python3.5'
alias sls="serverless"
export PATH=/usr$HOME/.nodebrew/current/bin:$PATH
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