Joined May 2014
·
Posted to
ZSH: Display commands runtime in prompt
over 1 year
ago
This keeps the time of the last executed command on the right when you press Enter. Is there a way to replace that with the time elapsed since the last command?
In bash, this did the trick:
trap 'SECONDS=0' DEBUG
PS1='... [${SECONDS}s] ... $ '
But in zsh, $SECONDS is always zero.
Posted to
Switch to your favorite shell in Vagrant
over 1 year
ago
I'm an occasional / first time Chef user. Where exactly, in what file(s), do I add those lines?
Posted to
Using NPM modules in Meteor
over 1 year
ago
How do you not specify a particular version, e.g. if you want the latest?
Good tips!
Images 2-4 are broken?