I have a question
In bash to cd to the just created dir I use “mkdir asd && cd $_” so I don’t have to rewrite the dir name.
How can I do that in fish? Tried to search online but found only bash results

@SonoMichele I don't think you can, one of the reasons that I switched from fish to zsh is that it doesn't support the $ and ! shortcuts.

@sotolf Oh no, I started used fish only because it autocompletes commands and they are colored hahaha

@SonoMichele zsh can do the same if you add a couple of plugins :) I have the autocomplete and syntax highlighting as well in mine, I'll see if I can find them for you if you want them :)

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.