logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://hacktivis.me/git/dotfiles.git
commit: 4914194c5d3d13792a4f5d3ac0f68c468e9c4897
parent 86cadbc15416fb80aa652f32a7b8b8dbaa4d909b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  4 Aug 2020 02:58:51 +0200

log_cmd: small wrapper util

Diffstat:

A.local/bin/log_cmd4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.local/bin/log_cmd b/.local/bin/log_cmd @@ -0,0 +1,4 @@ +#!/bin/sh +echo "$(date -u '+%FT%TZ') EXEC $@" >> $HOME/.log_cmd_"$1".log +"$@" +echo "$(date -u '+%FT%TZ') EXIT[$?] $@" >> $HOME/.log_cmd_"$1".log