lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master e6e566b 1/5: Put a useful command in zsh hist


From: Greg Chicares
Subject: [lmi-commits] [lmi] master e6e566b 1/5: Put a useful command in zsh history
Date: Fri, 15 Sep 2017 07:51:30 -0400 (EDT)

branch: master
commit e6e566b6fe14b5c71630f7a0a94c1dfc066d26ef
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Put a useful command in zsh history
    
    This is the command added to a text file in the 20170909T0826Z commit.
---
 tabs/1/startup_script | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tabs/1/startup_script b/tabs/1/startup_script
index 881a94b..385f654 100755
--- a/tabs/1/startup_script
+++ b/tabs/1/startup_script
@@ -5,13 +5,16 @@ a='schroot --chroot=cross-lmi'
 b='cd /opt/lmi/free/src/lmi'
 c='git remote -v update'
 d='git pull'
+e='for z in $(git diff HEAD^ --name-only) ; do touch 
--reference=/opt/lmi/src/lmi/$z $z; done'
 
 print -rs $b ; echo $b ; eval $b
 print -rs $c ; echo $c ; eval $c
 print -rs $d ; echo $d ;
+print -rs $e ; echo $e ;
 
 unset a
 unset b
 unset c
 unset d
+unset e
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]