-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
66 lines (50 loc) · 2.16 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
# https://github.com/marlonrichert/zsh-snap
# https://github.com/marlonrichert/zsh-snap/blob/main/.zshrc
source "$HOME/.znap/znap/znap.zsh"
# My own dotfiles
# Theme
#znap eval starship "starship init zsh --print-full-init"
znap eval oh-my-posh "oh-my-posh init zsh --config ~/.config/oh-my-posh/config.json"
# Autocompletions & syntax highlighting
znap source zsh-users/zsh-autosuggestions
znap source marlonrichert/zsh-autocomplete
znap source zdharma-continuum/fast-syntax-highlighting
znap source lukechilds/zsh-better-npm-completion
# Completions
znap source ohmyzsh/ohmyzsh lib/theme-and-appearance
znap source ohmyzsh/ohmyzsh \
lib/{directories,clipboard,history,key-bindings} plugins/{git,npm,web-search,colored-man-pages}
znap source supercrabtree/k
znap source DarrinTisdale/zsh-aliases-exa
# Prettify
znap source marlonrichert/zcolors
znap eval marlonrichert/zcolors "zcolors ${(q)LS_COLORS}"
# Tools
znap source ajeetdsouza/zoxide
znap eval ajeetdsouza/zoxide "zoxide init zsh"
znap eval nvbn/thefuck "thefuck --alias"
znap source peterhurford/up.zsh
znap source mattmc3/zman
znap source mattmc3/zephyr \
plugins/{utility,history}
# mvrel
# Move directory with symlinks intact
znap source minTaqa/mvrel
# Title
ZSH_TAB_TITLE_DEFAULT_DISABLE_PREFIX=true
ZSH_TAB_TITLE_ENABLE_FULL_COMMAND=true
znap source trystan2k/zsh-tab-title
# asdf
# Tool management (npm, python, ruby, and more)
znap source asdf-vm/asdf
# # fpath
# znap fpath _docker "curl -sSL https://raw.githubusercontent.com/docker/cli/fa84cfd8020a4c221ab97da1c11507c1c5e552fd/contrib/completion/zsh/_docker"
# # https://github.com/docker/docker.github.io-1/blob/86dfbfc52bf242cac9f39630a952345cb171ab33/compose/completion.md?plain=1#L87
#znap fpath _docker-compose "curl -sSL https://raw.githubusercontent.com/docker/compose/master/contrib/completion/zsh/_docker-compose"
znap fpath _gh "gh completion -s zsh"
znap fpath _rg "rg --generate complete-zsh"
znap fpath _aichat "curl -sSL https://raw.githubusercontent.com/sigoden/aichat/master/scripts/completions/aichat.zsh"
znap fpath _oh-my-posh "oh-my-posh completion zsh"
znap fpath _pip "python -m pip completion --zsh"
# My own stuff.
znap source nightgrey/dotfiles