I have a alias which when you pass a parameter will look like this
rg --trim --no-heading test_based_image $HOME/ -n | fzf --color=\'preview-fg:110\' --previe