-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
83 lines (55 loc) · 1.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
80
# .bashrc
# export PS1="%~ $ "
bindkey -e
export LSCOLORS=gxfxcxdxbxegedabagacad
export GOPATH=~/go/code/go-local
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
export PATH=~/.local/bin:$GOPATH/bin:$PATH
export PATH=/usr/local/bin:$PATH
export PATH=$PATH:$HOME/pear/bin
export PATH=$HOME/.rbenv/shims:$PATH
export PATH=$HOME/.nodebrew/current/bin:$PATH
export PATH=/usr/local/var/nodebrew/current/bin:$PATH
export PATH="$PATH":"$HOME/.pub-cache/bin"
export PATH="$PATH:$HOME/Library/Python/3.8/bin"
export PATH="$PATH:$HOME/Garage/flutter/bin"
export NODEBREW_ROOT=/usr/local/var/nodebrew
export EDITOR=vi
eval "$(/opt/homebrew/bin/brew shellenv)"
# eval "$(rbenv init -)"
#export JAVA_HOME=`/usr/libexec/java_home -v "1.8"`
#PATH=${JAVA_HOME}/bin:${PATH}
alias ls='ls -G'
alias ll='ls -l'
alias la='ls -la'
alias v='vim'
alias grep='ggrep --color=always'
alias gr='grep'
alias grr='grep -r'
alias sed='gsed'
alias g='git'
# source ~/dotfiles/git-completion.bash
# source <(kubectl completion bash)
stty -ixon -ixoff
# itermのタブ名
# echo -ne "\033]0;${USER}@${LANG}\007"
function tabname() {
echo -ne "\033]0;$1\007"
}
function vgr() {
vim $(grep -lr --color $1 $2)
}
function notaa() {
echo -e "\033[1;33m $1 \033[0m"
# echo $'\e[33m' $1 $'\e[0m'
}
if [ -e ~/.secrets/bashrc ]; then
source ~/.secrets/bashrc
echo "file found."
else
echo "file NOT found."
fi
. "$HOME/.cargo/env"
PS1='[\u \W]$ '
PROMPT="%n$:%c "