change to television instead for fzf
This commit is contained in:
@@ -26,6 +26,7 @@ PROMPT_COMMAND="history -a; history -n"
|
||||
|
||||
# Use interactive Comments, so typing "#" in the prompt will be considered a comment
|
||||
setopt interactivecomments
|
||||
setopt share_history
|
||||
|
||||
# Use modern completion system
|
||||
autoload -Uz compinit
|
||||
@@ -59,9 +60,9 @@ eval "$(oh-my-posh init zsh --config /home/sebastian/.zsh/rudolfs-dark.omp.json)
|
||||
# Fuzzy File Finder
|
||||
#
|
||||
|
||||
export FZF_TMUX_OPTS="-r 30%"
|
||||
export FZF_TMUX=1
|
||||
source /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
#export FZF_TMUX_OPTS="-r 30%"
|
||||
#export FZF_TMUX=1
|
||||
#source /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
|
||||
|
||||
|
||||
@@ -116,3 +117,11 @@ function tmux_pane(){
|
||||
}
|
||||
|
||||
PROMPT_COMMAND="$PROMPT_COMMAND; tmux_pane"
|
||||
|
||||
|
||||
zstyle ':completion:*:*:ssh:*' hosts \
|
||||
${(f)"$(grep -h '^Host ' ~/.ssh/config ~/.ssh/config.d/* 2>/dev/null | \
|
||||
sed 's/^Host //' | tr ' ' '\n')"}
|
||||
|
||||
|
||||
eval "$(tv init zsh)"
|
||||
|
||||
Reference in New Issue
Block a user