-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc
More file actions
74 lines (59 loc) · 1.46 KB
/
.zshrc
File metadata and controls
74 lines (59 loc) · 1.46 KB
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
autoload -U colors && colors
fpath=($HOMEBREW_PREFIX/share/zsh/site-functions $fpath)
setopt always_last_prompt
setopt always_to_end
setopt append_history
setopt auto_cd
setopt auto_list
setopt auto_menu
setopt auto_param_keys
setopt auto_param_slash
setopt auto_pushd
setopt auto_remove_slash
setopt complete_in_word
setopt correct
#setopt correct_all
#setopt glob_complete
setopt extended_glob
setopt extended_history
setopt hist_ignore_all_dups
setopt list_types
setopt long_list_jobs
#setopt magic_equal_subst
setopt nobeep
setopt print_eight_bit
setopt pushd_ignore_dups
setopt share_history
unsetopt promptcr
WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
autoload -Uz compinit && compinit -u
zstyle ':completion:*:default' menu select=1
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
HISTFILE="$HOME/.zhistory"
HISTSIZE=100000
SAVEHIST=100000
bindkey -e
bindkey '^P' history-beginning-search-backward
bindkey '^N' history-beginning-search-forward
if [[ $OSTYPE == darwin* ]]; then
alias -g CP='| pbcopy'
export __CF_USER_TEXT_ENCODING='0x1F5:0x08000100:14'
fi
alias ls='ls -G'
alias ll='ls -lh'
alias la='ll -a'
alias rm='rm -i'
alias cp='cp -v'
alias mv='mv -iv'
alias tree='tree -NC'
alias vi='nvim'
alias vim='nvim'
alias ce='carton exec'
alias be='bundle exec'
alias -g L='| $PAGER'
alias -g G='| grep'
REPORTTIME=10
for f (~/.zsh/**/*.zsh) source "${f}"
eval "$(starship init zsh)"
eval "$(mise activate zsh)"