-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zshrc
38 lines (30 loc) · 934 Bytes
/
dot_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
source ~/.config/zsh/path.zsh
# Download Znap, if it's not there yet.
[[ -r ~/Repos/znap/znap.zsh ]] ||
git clone --depth 1 -- \
https://github.com/marlonrichert/zsh-snap.git ~/Repos/znap
source ~/Repos/znap/znap.zsh # Start Znap
# Immediately source completions
source ~/.config/zsh/completion.zsh
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt appendhistory
setopt INC_APPEND_HISTORY
export EDITOR='nvim'
export VISUAL='nvim'
znap eval fzf "fzf --zsh"
znap eval zoxide "zoxide init zsh"
znap eval direnv "direnv hook zsh"
znap eval starship "starship init zsh"
znap eval rbenv "rbenv init - --no-rehash zsh"
# MARK: Source extensions
source ~/.config/zsh/alias.zsh
source ~/.config/zsh/zsh-theme.zsh
#source ~/.config/zsh/zsh-bitwarden.zsh
source ~/.config/zsh/plugins.zsh
setopt interactivecomments
# if command -v tmux &> /dev/null && [[ -z "$TMUX" ]]
# then
# tmux new-session -c $PWD
# fi