This commit is contained in:
Michael Zhang 2020-06-15 05:09:28 -05:00
parent ca82fe7fdd
commit c317111ccc
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
4 changed files with 11 additions and 2 deletions

4
.chezmoi.toml.tmpl Normal file
View file

@ -0,0 +1,4 @@
{{- $email := promptString "email" -}}
[data]
email = "{{ $email }}"

View file

@ -2,7 +2,12 @@
email = iptq@protonmail.com email = iptq@protonmail.com
name = Michael Zhang name = Michael Zhang
signingkey = 925ECC02890D5CDAE26180D4BDA47A31A3C8EE6B signingkey = 925ECC02890D5CDAE26180D4BDA47A31A3C8EE6B
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[pull] [pull]
rebase = true rebase = true
[commit] [commit]
gpgsign = true gpgsign = true
# vim: set filetype=gitconfig:

View file

@ -5,5 +5,5 @@
dest=$HOME/.config/last-system-upgrade dest=$HOME/.config/last-system-upgrade
topgrade --no-retry --verbose --yes topgrade --no-retry --verbose --yes
echo $(date "+%s") >> $dest echo $(date "+%s") > $dest

View file

@ -1,5 +1,5 @@
function checkUpdate() { function checkUpdate() {
lastUpdateFile=$HOME/.config/last-system-update lastUpdateFile=$HOME/.config/last-system-upgrade
if [ ! -f "$lastUpdateFile" ]; then if [ ! -f "$lastUpdateFile" ]; then
echo "this system hasn't ever been updated using system-upgrade.sh" echo "this system hasn't ever been updated using system-upgrade.sh"