-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
57 lines (43 loc) · 1.17 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
setopt interactive_comments
autoload edit-command-line
autoload -U colors && colors
_comp_options+=(globdots)
bindkey -e
bindkey '^x^e' edit-command-line
# history
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=50000
setopt SHARE_HISTORY
setopt EXTENDED_HISTORY
# for compinstall
zstyle :compinstall filename '/home/polhuang/.zshrc'
# znap
[[ -r ~/.zsh/znap/znap.zsh ]] ||
git clone --depth 1 -- \
https://github.com/marlonrichert/zsh-snap.git ~/.zsh/znap
source ~/.zsh/znap/znap.zsh # Start Znap
# widgets
zle -N edit-command-line
# znap packages
znap source marlonrichert/zsh-autocomplete
znap source zsh-users/zsh-syntax-highlighting
znap source zsh-users/zsh-autosuggestions
znap source rupa/z
# source aliases
[ -f "$HOME/.aliasrc" ] && . "$HOME/.aliasrc"
# env variables
export EDITOR=emacsclient
# asciiquarium
TMOUT=600
TRAPALRM() {
asciiquarium
}
# starship
eval "$(starship init zsh)"
# guix package manager
GUIX_PROFILE="$HOME/.guix-profile"
. "$GUIX_PROFILE/etc/profile"
# Generated for envman. Do not edit.
# [ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
# export PATH=$PATH:/home/polhuang/Downloads/kontroll/target/release