home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix extra dash in timestamp format
[khome.git]
/
home
/
bin
/
x
diff --git
a/home/bin/x
b/home/bin/x
index
59a4710
..
5069833
100755
(executable)
--- a/
home/bin/x
+++ b/
home/bin/x
@@
-6,7
+6,7
@@
name=$(echo "$@" | sed 's/\s\+/-/g');
if [ "$name" != "" ];
then
- timestamp=$(date +'%F--%H-%M-
-
%S');
+ timestamp=$(date +'%F--%H-%M-%S');
directory="$HOME/x/$timestamp--$name";
mkdir -p "$directory";
cd "$directory";
This page took
0.081425 seconds
and
4
git commands to generate.