[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master bd227cb 1/3: Add a useful command to zsh hist
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master bd227cb 1/3: Add a useful command to zsh history list |
Date: |
Tue, 10 Apr 2018 16:07:31 -0400 (EDT) |
branch: master
commit bd227cbbd353c674074b4f22491341019ec1f465
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Add a useful command to zsh history list
---
tabs/1/startup_script | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tabs/1/startup_script b/tabs/1/startup_script
index b2f153d..b43a77c 100755
--- a/tabs/1/startup_script
+++ b/tabs/1/startup_script
@@ -6,15 +6,18 @@ b='cd /opt/lmi/free/src/lmi'
c='git fetch --all --dry-run'
d='git pull'
e='for z in $(git diff address@hidden --name-only) ; do touch
--reference=/opt/lmi/src/lmi/$z $z; done'
+f='git log --date=short --pretty=format:"%h %cd %s" --since=2018-01-01'
print -rs $b ; echo $b ; eval $b
print -rs $c ; echo $c ; eval $c
print -rs $d ; echo $d ;
print -rs $e ; echo $e ;
+print -rs $f ; echo $f ;
unset a
unset b
unset c
unset d
unset e
+unset f