mirror of
https://github.com/bvanroll/my-old-dotfiles.git
synced 2025-08-29 12:02:46 +00:00
fzf
This commit is contained in:
13
.fzf.bash
Normal file
13
.fzf.bash
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Setup fzf
|
||||||
|
# ---------
|
||||||
|
if [[ ! "$PATH" == */usr/local/opt/fzf/bin* ]]; then
|
||||||
|
export PATH="${PATH:+${PATH}:}/usr/local/opt/fzf/bin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Auto-completion
|
||||||
|
# ---------------
|
||||||
|
[[ $- == *i* ]] && source "/usr/local/opt/fzf/shell/completion.bash" 2> /dev/null
|
||||||
|
|
||||||
|
# Key bindings
|
||||||
|
# ------------
|
||||||
|
source "/usr/local/opt/fzf/shell/key-bindings.bash"
|
13
.fzf.zsh
Normal file
13
.fzf.zsh
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Setup fzf
|
||||||
|
# ---------
|
||||||
|
if [[ ! "$PATH" == */usr/local/opt/fzf/bin* ]]; then
|
||||||
|
export PATH="${PATH:+${PATH}:}/usr/local/opt/fzf/bin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Auto-completion
|
||||||
|
# ---------------
|
||||||
|
[[ $- == *i* ]] && source "/usr/local/opt/fzf/shell/completion.zsh" 2> /dev/null
|
||||||
|
|
||||||
|
# Key bindings
|
||||||
|
# ------------
|
||||||
|
source "/usr/local/opt/fzf/shell/key-bindings.zsh"
|
2
.gitignore
vendored
2
.gitignore
vendored
@@ -6,4 +6,4 @@
|
|||||||
!.vimrc
|
!.vimrc
|
||||||
!.vim
|
!.vim
|
||||||
!.vim/*
|
!.vim/*
|
||||||
|
!.fzf*
|
||||||
|
Reference in New Issue
Block a user