Merge branch 'master' of ssh://git.jonathanh.co.uk/jab2870/Dotfiles

This commit is contained in:
Jonathan Hodgson 2024-04-25 14:05:15 +01:00
commit 8e9073bd2d
3 changed files with 7 additions and 22 deletions

View file

@ -81,7 +81,8 @@ else
export OPENAPI="$(realpath "$current/$(yq -r .openapi "$current/index.yaml")")"
fi
mkdir "$current/shell-logs" 2> /dev/null
/usr/bin/script -f "$current/shell-logs/$(date +"%d-%b-%y_%H-%M-%S")_shell.log"
date="$(date +"%d-%b-%y_%H-%M-%S")"
/usr/bin/script -f "$current/shell-logs/${date}_shell.log" -T "$current/shell-logs/${date}_shell.timing"
fi
else
#type -p rem > /dev/null && rem -@