-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.zsh
35 lines (26 loc) · 1.02 KB
/
index.zsh
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
#!/usr/bin/zsh
source /usr/share/zsh-antigen/antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen bundle composer
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen theme romkatv/powerlevel10k #you need to install powerline fonts for this theme (apt-get install powerline)
antigen apply
antigen bundle joshskidmore/zsh-fzf-history-search
# custom keybinds
source ~/.config/zsh/custom-keybinds.zsh
# nvim
export PATH="$PATH:/opt/nvim-linux64/bin"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
# bun completions
[ -s "/home/matthias/.bun/_bun" ] && source "/home/matthias/.bun/_bun"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=4'
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=sway
[[ ! -f ~/.config/zsh/p10k.zsh ]] || source ~/.config/zsh/p10k.zsh