git://git.iain.cx/iain
/
profile.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fugitive plugin.
[profile.git]
/
opt
/
bin
/
ts
1
#!/bin/bash
2
3
options="-l"
4
if echo "$LS_OPTIONS" | grep -- "--time-style=long-iso" &>/dev/null; then
5
today=$(date +'%Y-%m-%d')
6
options="$options --time-style=long-iso"
7
else
8
today=$(date +'%b %e')
9
fi
10
ls $options ${1+"$@"} | grep "$today [012][0-9]:[0-9][0-9]"