related to this post, cd to the most recently modified child directory
cd "$(\ls -1dt ./*/ | head -n 1)"
changes to the most recently modified directory.
But there is no script for fish shell.
When used the bash code in config.fish, it shows
$(...) is not supported. In fish, please use '(\ls)'
Can anyone please help?