Echo all aliases in zsh
问题 Is it possible to force zsh to echo the actual commands referred to by all aliases when they are used? For example, say that I have the following aliases set: # List direcory contents alias lsa='ls -lah' alias l='ls -la' alias ll='ls -l' When I execute them I would like to see each of them print the actual command that's executed. For example, I would like to see the following: $ ll executing: 'ls -l' total 0 -rw-r--r-- 1 person staff 0 Feb 15 13:46 cool.txt -rw-r--r-- 1 person staff 0 Feb 15