Drush config pull doesn't work, putting it in the wrong sync directory

drush config pull Cannot evaluate path alias %config-sync tell drush where config is cpull

Maybe i just don’t have it in settings.php properly when i do that? But this problem seems to happen even when drush cex and cim work.