fixing bleshrc config and filling in fzf sources in it
This commit is contained in:
parent
a6404be0c2
commit
88d5d3f6bc
2 changed files with 7 additions and 3 deletions
4
.bashrc
4
.bashrc
|
@ -251,9 +251,7 @@ _init() {
|
||||||
if command-exists fzf; then
|
if command-exists fzf; then
|
||||||
|
|
||||||
if $blesh; then
|
if $blesh; then
|
||||||
ble-import -d integration/fzf-completion
|
return
|
||||||
ble-import -d integration/fzf-key-bindings
|
|
||||||
ble-import -d integration/fzf-menu
|
|
||||||
else
|
else
|
||||||
eval "$(fzf --bash)" || {
|
eval "$(fzf --bash)" || {
|
||||||
source-file "$HOME/.fzf/shell/completion.bash"
|
source-file "$HOME/.fzf/shell/completion.bash"
|
||||||
|
|
6
.blerc
6
.blerc
|
@ -1,5 +1,10 @@
|
||||||
# -*- mode: sh; mode: sh-bash -*-
|
# -*- mode: sh; mode: sh-bash -*-
|
||||||
|
|
||||||
|
if command -v fzf >/dev/null; then
|
||||||
|
ble-import -d integration/fzf-completion
|
||||||
|
ble-import -d integration/fzf-key-bindings
|
||||||
|
ble-import -d integration/fzf-menu
|
||||||
|
fi
|
||||||
## This is a template for "~/.blerc".
|
## This is a template for "~/.blerc".
|
||||||
##
|
##
|
||||||
## To use ble.sh in bash, please set up "~/.bashrc" as follows:
|
## To use ble.sh in bash, please set up "~/.bashrc" as follows:
|
||||||
|
@ -1365,6 +1370,7 @@ function blerc/vim-load-hook {
|
||||||
#bleopt vim_airline_symbol_branch=$'\uE0A0'
|
#bleopt vim_airline_symbol_branch=$'\uE0A0'
|
||||||
#bleopt vim_airline_symbol_dirty=$'\u26A1'
|
#bleopt vim_airline_symbol_dirty=$'\u26A1'
|
||||||
}
|
}
|
||||||
|
|
||||||
blehook/eval-after-load keymap_vi blerc/vim-load-hook
|
blehook/eval-after-load keymap_vi blerc/vim-load-hook
|
||||||
|
|
||||||
##-----------------------------------------------------------------------------
|
##-----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue