asdf
This commit is contained in:
parent
ca82fe7fdd
commit
c317111ccc
4 changed files with 11 additions and 2 deletions
4
.chezmoi.toml.tmpl
Normal file
4
.chezmoi.toml.tmpl
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{{- $email := promptString "email" -}}
|
||||||
|
|
||||||
|
[data]
|
||||||
|
email = "{{ $email }}"
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue