getcwd() call moved to the beginning of the statusline