summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot/bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot/bashrc b/dot/bashrc
index 1c2a83c..e4d81b2 100644
--- a/dot/bashrc
+++ b/dot/bashrc
@@ -398,3 +398,8 @@ fkill()
398 398
399alias fstop='fkill -STOP' 399alias fstop='fkill -STOP'
400alias fcont='fkill -CONT' 400alias fcont='fkill -CONT'
401
402newfile()
403{
404 find . -maxdepth 1 -type f -printf "%T@ %f\0" | sort -z -k1,1 -r | head -z -n1 | cut -d' ' -f2 | xargs -0 printf %s
405}