alexstrat/oh-my-zsh — comment on commit 0f13387b074aa20b035251ea85e4f8a82eddbfa8
File: plugins/jake-node/jake-node.plugin.zsh line 12
By eMxyzptlk:

`stat -f%m` is only mac specific, please change it to support other oses, here's an implementation that would work for mac and linux

```bash
if [ `uname` = 'Linux' ]; then
statflags = '-c%y'
elseif [ `uname` = 'Darwin' ]; then
statflags = '-f%m'
fi
```

and you can replace `-f%m` with `$statflags`

NOTE: Above code is un-tested so please do test it first