Migrate from ~/.config/local to ~/.local/settings.
This commit is contained in:
parent
4dc2b58f6a
commit
ee45430c00
5 changed files with 29 additions and 21 deletions
|
@ -1,13 +1,13 @@
|
|||
source $XDG_CONFIG_HOME/fzf/fzf.zsh
|
||||
export FZF_DEFAULT_COMMAND='fd -H -L --ignore-file $XDG_CONFIG_HOME/local/fd'
|
||||
export FZF_CTRL_T_COMMAND='fd -H -L --ignore-file $XDG_CONFIG_HOME/local/fd'
|
||||
export FZF_DEFAULT_COMMAND='fd -H -L --ignore-file ~/.local/settings/fd'
|
||||
export FZF_CTRL_T_COMMAND='fd -H -L --ignore-file ~/.local/settings/fd'
|
||||
export FZF_DEFAULT_OPTS="--multi -e --ansi --layout=reverse --preview='bat --color=always --tabs=2 --style=plain --theme=Monokai\ Extended\ Bright {}'"
|
||||
export FZF_CTRL_R_OPTS="-e --ansi --layout=reverse --preview=''"
|
||||
_fzf_compgen_path() {
|
||||
fd -H -L --ignore-file $XDG_CONFIG_HOME/local/fd . "$1"
|
||||
fd -H -L --ignore-file ~/local/settings/fd . "$1"
|
||||
}
|
||||
_fzf_compgen_dir() {
|
||||
fd -H -L --ignore-file $XDG_CONFIG_HOME/local/fd --type d . "$1"
|
||||
fd -H -L --ignore-file ~/local/settings/fd --type d . "$1"
|
||||
}
|
||||
|
||||
# heavily inspired (and sometimes stolen from): https://github.com/wfxr/forgit.git
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue