fix(shell): there seems to be a random dash in the fp command

This commit is contained in:
Ade Attwood 2024-04-10 19:25:28 +01:00
parent 29618280a1
commit 2b6097dc9e

View file

@ -16,7 +16,7 @@ alias fe="vim \"\$(FZF_DEFAULT_COMMAND=\"fd -t f\" fzf --preview-window=top:70%
# cd in to a porject directory
#
fp() {
cd ~/Code/src/$(cd ~/Code/src && FZF_DEFAULT_COMMAND="fd -t d --exact-depth 3" fzf --preview-window=top:70% --preview 'bat --style=numbers ---color=always {}/README.md')
cd ~/Code/src/$(cd ~/Code/src && FZF_DEFAULT_COMMAND="fd -t d --exact-depth 3" fzf --preview-window=top:70% --preview 'bat --style=numbers --color=always {}/README.md')
}
#
# Searching the git history with diff and show preview support. When selecting a