fix(zsh): correct zshrc syntax, dedupe FZF_DEFAULT_OPTS, remove leaked secrets
- Comment out stray 'Fix fzf interaction' command that broke zsh-vi-mode init - Fix _fzf_comprun default preview argument - Merge duplicate FZF_DEFAULT_OPTS; keep height/border/color + tab accept - Remove duplicate BORG_FUSE_IMPL (kept pyfuse3) - Replace hardcoded Netbird setup key and Borg passphrase with comments - Add secrets.env loader and create ~/.config/secrets.env template - Set XDG_CURRENT_DESKTOP=Niri to match current compositor
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ source ~/.export.zsh
|
||||
|
||||
# CONSOLIDATED FUNCTION: All zsh-vi-mode logic must be in one place [2]
|
||||
function zvm_after_init() {
|
||||
Fix fzf interaction
|
||||
# Fix fzf interaction
|
||||
source <(fzf --zsh)
|
||||
|
||||
# Bind Atuin search for both Insert and Normal modes [9]
|
||||
@@ -60,7 +60,7 @@ _fzf_comprun() {
|
||||
cd) fzf --preview 'eza --tree --color=always {} | head -200' "$@" ;;
|
||||
export | unset) fzf --preview "eval 'echo \$' {}" "$@" ;;
|
||||
ssh) fzf --preview 'dig {}' "$@" ;;
|
||||
*) fzf --preview "--preview 'bat -n --color=always --line-range :10 {}'" "$@" ;;
|
||||
*) fzf --preview 'bat -n --color=always --line-range :10 {}' "$@" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user