some more fixes, now featuring autopairs
This commit is contained in:
parent
6c565c7bba
commit
a6404be0c2
1 changed files with 7 additions and 9 deletions
16
.bashrc
16
.bashrc
|
@ -249,12 +249,16 @@ setup-keychain() {
|
||||||
_init() {
|
_init() {
|
||||||
# ─< fzf >────────────────────────────────────────────────────────────────────────────────
|
# ─< fzf >────────────────────────────────────────────────────────────────────────────────
|
||||||
if command-exists fzf; then
|
if command-exists fzf; then
|
||||||
eval "$(fzf --bash)"
|
|
||||||
|
|
||||||
if $blesh; then
|
if $blesh; then
|
||||||
ble-import -d integration/fzf-completion
|
ble-import -d integration/fzf-completion
|
||||||
ble-import -d integration/fzf-key-bindings
|
ble-import -d integration/fzf-key-bindings
|
||||||
ble-import -d integration/fzf-menu
|
ble-import -d integration/fzf-menu
|
||||||
|
else
|
||||||
|
eval "$(fzf --bash)" || {
|
||||||
|
source-file "$HOME/.fzf/shell/completion.bash"
|
||||||
|
source-file "$HOME/.fzf/shell/key-bindings.bash"
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo-missing fzf
|
echo-missing fzf
|
||||||
|
@ -418,15 +422,9 @@ main() {
|
||||||
show-end-screen
|
show-end-screen
|
||||||
|
|
||||||
ble-import "$HOME/.bash_aliases"
|
ble-import "$HOME/.bash_aliases"
|
||||||
ble-import "$HOME/.bash/plugins/autopairs.sh"
|
source-file -q "$HOME/.bash/plugins/autopairs.sh"
|
||||||
|
# ble-import "$HOME/.bash/plugins/autopairs.sh"
|
||||||
# source-file -q "$HOME/.bash_aliases"
|
# source-file -q "$HOME/.bash_aliases"
|
||||||
# source-file -q "$HOME/.bash/plugins/autopairs.sh"
|
|
||||||
|
|
||||||
# fzf completions for bash
|
|
||||||
if command-exists fzf; then
|
|
||||||
source-file "$HOME/.fzf/shell/completion.bash"
|
|
||||||
source-file "$HOME/.fzf/shell/key-bindings.bash"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if command-exists keychain; then
|
if command-exists keychain; then
|
||||||
eval "$(keychain --eval --noask --agents ssh ~/.ssh/{homelab-id_rsa,hetzner_id_rsa})"
|
eval "$(keychain --eval --noask --agents ssh ~/.ssh/{homelab-id_rsa,hetzner_id_rsa})"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue