git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fugitive plugin.
[profile.git]
/
opt
/
bin
/
ts
diff --git
a/opt/bin/ts
b/opt/bin/ts
index
3da2888
..
74b59f0
100755
(executable)
--- a/
opt/bin/ts
+++ b/
opt/bin/ts
@@
-1,10
+1,10
@@
#!/bin/bash
options="-l"
#!/bin/bash
options="-l"
-if echo "$LS_OPTIONS" |
/bin/
grep -- "--time-style=long-iso" &>/dev/null; then
- today=$(
/bin/
date +'%Y-%m-%d')
+if echo "$LS_OPTIONS" | grep -- "--time-style=long-iso" &>/dev/null; then
+ today=$(date +'%Y-%m-%d')
options="$options --time-style=long-iso"
else
options="$options --time-style=long-iso"
else
- today=$(
/bin/
date +'%b %e')
+ today=$(date +'%b %e')
fi
fi
-
/bin/ls $options ${1+"$@"} | /bin/
grep "$today [012][0-9]:[0-9][0-9]"
+
ls $options ${1+"$@"} |
grep "$today [012][0-9]:[0-9][0-9]"