set --erase fish_greeting (suggested by denji); C-n -> previous directory; C-b repeat the last command