-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
61 lines (52 loc) · 1.43 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
#
# Executes commands at the start of an interactive session.
#
# Authors:
# shy_azusa <[email protected]>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# path設定
path=($HOME/bin(N-/) /usr/local/go/bin(N-/) $path)
# 文字コード設定
export LANG=ja_JP.UTF-8
# beepを消す
setopt nolistbeep
# 便利alias
alias where="command -v"
alias j="jobs -l"
alias la="ls -a"
alias lf="ls -F"
alias ll="ls -l"
alias lt="ls -alTr"
alias du="sudo du -d 1 -h"
alias df="df -h"
alias su="su -l"
alias cl="clear"
alias less="less -sNiMR --tilde --max-forw-scroll=1 --window=1 --shift 1"
alias his="history -E 1"
alias ergodox="make ergodox_ez:shyazusa && cp .build/ergodox_ez_shyazusa.hex ~"
alias git='hub'
alias vim='nvim'
alias ghci='stack ghci'
alias ghc='stack ghc --'
alias runghc='stack runghc --'
alias bundle1='bundle _1.17.2_'
alias bundler1='bundler _1.17.2_'
# cdとlsの省略
setopt auto_cd
function chpwd() { ls }
function git() { hub "$@" }
export PATH="$PATH:$HOME/.rvm/bin"
export PATH="$HOME/.rbenv/bin:$PATH"
export PATH="/opt/homebrew/bin:$PATH"
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT)
export PATH="/Users/shohei.takei/.rd/bin:$PATH"
### MANAGED BY RANCHER DESKTOP END (DO NOT EDIT)
eval "$(rbenv init -)"
eval "$(nodenv init -)"
eval $(/opt/homebrew/bin/brew shellenv)
eval "$(direnv hook zsh)"