diff --git a/bin/qfc.sh b/bin/qfc.sh index b7ce9b8..ba4b0d5 100755 --- a/bin/qfc.sh +++ b/bin/qfc.sh @@ -19,6 +19,9 @@ function get_cursor_position(){ if [[ -d ~/.qfc/ ]]; then export PATH=~/.qfc/bin:"${PATH}" +else + DIRNAME=$(dirname $0) + export PATH=$DIRNAME:"${PATH}" fi if [[ -n "$ZSH_VERSION" ]]; then