diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-01-28 12:02:00 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-01-28 12:02:00 +0100 |
| commit | d28de23c5c9aa1088e97f1555cb4ddf039ac2733 (patch) | |
| tree | 5e8b89b9228442c6044203d33313a3203871ab84 | |
| parent | d55d549d48ccaf7fb281bcf90b7bfe7a76f2b280 (diff) | |
fix fzf
| -rw-r--r-- | .bashrc | 11 | ||||
| -rwxr-xr-x | .vim/pack/mvertes/install.sh | 9 |
2 files changed, 5 insertions, 15 deletions
@@ -143,14 +143,7 @@ meteo() { #PS1='[\u@\h \W]\$ ' -# fzf -# Accomodate different base prefix on termux -#[ -d "$HOME/../usr" ] && base=.. -#[ -f "$base/usr/share/fzf/completion.bash" ] && . "$base/usr/share/fzf/completion.bash" -#[ -f "$base/usr/share/fzf/key-bindings.bash" ] && . "$base/usr/share/fzf/key-bindings.bash" -#unset base -#[ -f "/usr/share/fzf/completion.bash" ] && . "/usr/share/fzf/completion.bash" -#[ -f "/usr/share/fzf/key-bindings.bash" ] && . "/usr/share/fzf/key-bindings.bash" +eval "$(fzf --bash)" >/dev/null # Arch: display package to install for missing commands #[ -f '/usr/share/doc/pkgfile/command-not-found.bash' ] && . /usr/share/doc/pkgfile/command-not-found.bash @@ -167,5 +160,3 @@ meteo() { #bind -m vi-command ".":insert-last-argument #bind -m vi-command 'Control-l: clear-screen' #bind -m vi-insert 'Control-l: clear-screen' - -[ -f ~/.fzf.bash ] && source ~/.fzf.bash diff --git a/.vim/pack/mvertes/install.sh b/.vim/pack/mvertes/install.sh index 90cd4b3..8843982 100755 --- a/.vim/pack/mvertes/install.sh +++ b/.vim/pack/mvertes/install.sh @@ -1,12 +1,10 @@ #!/bin/sh -e plugins=' -git@github.com:mvertes/vimki -git@github.com:fatih/vim-go -git@github.com:othree/xml.vim git@github.com:junegunn/fzf.vim -git@github.com:mattn/libcallex-vim -git@github.com:bytesnake/vim-graphical-preview +#git@github.com:fatih/vim-go +git@github.com:mvertes/vimki +git@github.com:prabirshrestha/vim-lsp ' ht='test -d doc && vim -c "helptags doc" -c "q"' @@ -14,6 +12,7 @@ mkdir -p start cd start for p in $plugins do + case $p in ('#'*) continue ;; esac n=${p##*/} if [ -d "$n" ]; then echo "update $p" |
