-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
31 lines (23 loc) · 778 Bytes
/
.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
#!/bin/zsh
# configure starship theme
export STARSHIP_CONFIG="$HOME/.starship/starship.toml"
export STARSHIP_CACHE="$HOME/.starship/cache"
eval "$(starship init zsh)"
# Configure plugins
## fuzzy-search-and-edit
## jq-complete
bindkey '^J' jq-complete
# Install plugins
eval "$(sheldon source)"
# have fzf use fd instead
_fzf_compgen_path() {
fd --hidden --follow --exclude ".git" . "$1"
}
# Use fd to generate the list for directory completion
_fzf_compgen_dir() {
fd --type d --hidden --follow --exclude ".git" . "$1"
}
# CTRL-T - Paste the selected file path(s) into the command line
export FZF_CTRL_T_COMMAND='fd --strip-cwd-prefix --hidden --follow --exclude ".git"'
# commented out to make sure super setup doesn't add this line
# source $HOME/.zshrc_ironclad