1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 21:45:10 +01:00

Let fzf use Silver Searcher 'ag'

This commit is contained in:
2018-01-05 12:08:44 +01:00
parent a27eda389d
commit cdee89effe

View File

@@ -33,6 +33,11 @@ end
# QT autoscaling, helpful for hidpi systems # QT autoscaling, helpful for hidpi systems
set -x QT_AUTO_SCREEN_SCALE_FACTOR 1 set -x QT_AUTO_SCREEN_SCALE_FACTOR 1
# SilverSearcher 'ag' ('ack' and 'grep' replacement)
set -gx FZF_DEFAULT_COMMAND 'ag -g ""'
set -gx FZF_CTRL_T_COMMAND "$FZF_DEFAULT_COMMAND"
set -gx FZF_ALT_C_COMMAND "$FZF_DEFAULT_COMMAND"
# Aliases # Aliases
## Listing ## Listing
alias ll 'ls -alF' alias ll 'ls -alF'