qfc
qfc copied to clipboard
ZSH, iTerm: "command not found: qfc"
Hello,
I just installed qfc and added it to my zsh 5.0.5 .zshrc
like that:
[[ -s "$HOME/.qfc/bin/qfc.sh" ]] && source "$HOME/.qfc/bin/qfc.sh"
qfc_quick_command 'cd' '\C-b' 'cd $0'
qfc_quick_command 'vim' '\C-p' 'vim $0'
and restarted my terminal / sourced the config file.
If I press ctrl + f the result looks like this:
~|⇒
qfc_complete:15: command not found: qfc
Is there anything I missed?
Thanks
I've tried Term 3 and the default OS X terminal app with both zsh 5.1 and bash 3.1. I always get:
qfc_complete:20: command not found: qfc
☹️
@dewey @lukechilds You need to add $HOME/.qfc/bin/
to your path.
@desyncr I'm not sure what's changed since I last tried but I just tried again and it works fine now after sourcing, I don't need to add anything to my PATH.
source "$HOME/.qfc/bin/qfc.sh"
is all I need.
@lukechilds You are right. It's probably this.
@desyncr Good spot 👍
@dewey @pindexis This can probably be closed.