Last active
August 29, 2015 14:01
-
-
Save laginha87/d3f81d5545ff4bde1388 to your computer and use it in GitHub Desktop.
quick zsh script for writing daily logs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function log_write() { echo "$(date +%H:%M:%S) $*" >> ~/work_logs/$(date +%d-%m-%y) } | |
function log_see() { atom ~/work_logs/$(date +%d-%m-%y) } | |
function log_peek() { tail ~/work_logs/$(date +%d-%m-%y)} | |
alias log_arrived=' log_write arrived' | |
alias log_left=' log_write left' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment