Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sed: -e expression #1, char 1: unknown command: ` #112

Open
HeyItsJono opened this issue Oct 30, 2024 · 0 comments
Open

sed: -e expression #1, char 1: unknown command: ` #112

HeyItsJono opened this issue Oct 30, 2024 · 0 comments

Comments

@HeyItsJono
Copy link

Hi there,
When I try to use this add-on , I'm met with an error and scrambled text with numerous options that are irrelevant to the preceding text.

For example in the following tree:

containers
|
|--adguard
|--authelia
|--pihole
|--etc

I type cd a and then press Tab, I should get fzf presenting me with adguard and authelia as options. Instead I get the following:

image

This is the relevant part of my .bashrc file:

# Enable fzf
if [[ ! "$PATH" == */home/jono/.fzf/bin* ]]; then
  PATH="${PATH:+${PATH}:}/home/jono/.fzf/bin"
fi

eval "$(fzf --bash)"
source /home/jono/.fzf/fzf-tab-completion/bash/fzf-bash-completion.sh

## Keybinds
bind -x '"\et": fzf-file-widget'
bind -x '"\t": fzf_bash_completion'

I also have the following alias set up FWIW, in case it affects things: alias fzf="fzf --preview 'bat --color=always --style=numbers --line-range=:500 {}'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant