diff options
Diffstat (limited to 'helpers/append-location')
-rwxr-xr-x | helpers/append-location | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/append-location b/helpers/append-location index 0e1af89..64d6521 100755 --- a/helpers/append-location +++ b/helpers/append-location @@ -1,10 +1,10 @@ #!/bin/zsh -lastloc=$(tail -n 1 ~/var/log/location) +lastloc=$(tail -n 1 ~/var/local/.location-log) newloc=$1 if echo $lastloc | fgrep -q $newloc; then exit 0 fi -printf "%s %-10s %s\n" "$(date -R)" $newloc $SSH_CLIENT[(w)1] >> ~/var/log/location +printf "%s %-10s %s\n" "$(date -R)" $newloc $SSH_CLIENT[(w)1] >> ~/var/local/.location-log |