Been playing around with #fish_shell lately, and one thing I really like about it compared to bash, is that fish is very big on in-place expansion. Bash provides many shorthands for references to past commands (e.g., !$), or commonly used commands (aliases). However, these shorthands generally don't get expanded until the command is executed.
Conversely, fish's counterparts are expanded in-place on the command line. alt-up modifies the command prompt (vs bash's !$). abbreviations are expanded as soon as you add a whitespace (vs aliases).
It's neat.




DevelopersIO