Some things new in bin
Anirudh Oppiliappan x@icyphox.sh
Thu, 29 Apr 2021 18:55:10 +0530
2 files changed,
7 insertions(+),
3 deletions(-)
M
config/fish/functions/m.fish
→
config/fish/functions/m.fish
@@ -1,4 +1,9 @@
# Defined in - @ line 1 function m --wraps=nail --description 'alias m=nail' - nail $argv; + switch (uname) + case OpenBSD + nail $argv; + case Darwin + s-nail $argv; + end end
M
home/bin/log
→
home/bin/log
@@ -2,7 +2,6 @@ #!/bin/sh
# life log date="$(date "+%Y-%m-%d %H:%M:%S")" -l="$(printf '' | xprompt "$date")" +l="$(cat)" [ "$l" = "" ] && exit printf '%s\t%s\n' "$date" "$l" >> ~/log -