aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%USERPROFILE%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-02-20 01:40:06 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-02-20 01:40:06 +0300
commit5e9b652a7782ebd07b69100d9ce234785bf38083 (patch)
tree6ffaf356b27a888a303bcc060c77a465bbcff29d /%USERPROFILE%
parentupdate linux-home (diff)
downloadwindows-home-master.tar.gz
windows-home-master.zip
symlinks on Windows are a freaking painHEADmaster
I'll just update the relevant files from linux-home from now on, I think.
Diffstat (limited to '')
-rw-r--r--[l---------]%USERPROFILE%/.gitconfig85
-rw-r--r--[l---------]%USERPROFILE%/.gnupg/gpg.conf9
-rw-r--r--[l---------]%USERPROFILE%/.minttyrc24
-rw-r--r--%USERPROFILE%/.ssh/authorized_keys7
-rw-r--r--[l---------]%USERPROFILE%/.ssh/config47
5 files changed, 168 insertions, 4 deletions
diff --git a/%USERPROFILE%/.gitconfig b/%USERPROFILE%/.gitconfig
index 983e82f..5369d34 120000..100644
--- a/%USERPROFILE%/.gitconfig
+++ b/%USERPROFILE%/.gitconfig
@@ -1 +1,84 @@
-../linux-home/%HOME%/.gitconfig \ No newline at end of file
+[user]
+ name = Egor Tensin
+ email = Egor.Tensin@gmail.com
+
+[core]
+ # Don't touch line endings (I hate the fact that this is an option).
+ # My go-to approach now is to store everything w/ LF line endings in
+ # index (using '* text=auto' in root .gitattributes), and checkout with
+ # specific line endings as required (using additional records in
+ # .gitattributes, like '*.sh text eol=lf', '*.bat text eol=crlf',
+ # etc.).
+ autocrlf = false
+
+[push]
+ # If no refspec is given, push to the branch with the same name.
+ default = upstream
+
+# Git submodules suck, but they suck less if you read
+# https://medium.com/@porteneuve/mastering-git-submodules-34c65e940407.
+
+# Show submodule changes in a more verbose way.
+[diff]
+ submodule = log
+[status]
+ submoduleSummary = true
+[alias]
+ # Pull and sync submodules.
+ pulll = !git pull && git submodule sync --recursive && git submodule update --init --recursive
+
+# Automatically remove obsolete things/publish new things.
+[fetch]
+ # Prune old branches:
+ prune = true
+ # Prune old tags (since Git 2.17.0):
+ pruneTags = true
+[push]
+ # Push new tags:
+ followTags = true
+
+[log]
+ # Follow renames:
+ follow = true
+
+[mergetool]
+ # I don't even know why those are necessary, since we can abort and
+ # retry merges.
+ keepBackup = false
+
+[pull]
+ # Don't create a merge commit when pulling, fast-forward only.
+ ff = only
+
+[alias]
+ clean-all = clean -fdx
+ clean-ignored = clean -fdX
+ clean-unknown = clean -fd
+
+ l = log --oneline
+ # This is awesome: http://stackoverflow.com/a/1838938/514684
+ ll = log --graph --full-history --all --pretty=format:"%h%x09%d%x20%s"
+ lll = log --graph --full-history --all --color --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x20%x1b[33m(%an)%x1b[0m"
+
+ # I think this is only usable on Cygwin, given all the file permission
+ # madness there:
+ xx = update-index --add --chmod=+x
+
+ hide = update-index --skip-worktree
+ unhide = update-index --no-skip-worktree
+ hidden = !git ls-files -v | grep --basic-regexp \"^\\([[:lower:]]\\|S\\)\"
+
+ # Squash the staging area with the latest commit.
+ # Pass "-a" to skip using `git add`.
+ fixup = !GIT_EDITOR=true git commit --amend
+
+[filter "lfs"]
+ smudge = git-lfs smudge -- %f
+ process = git-lfs filter-process
+ clean = git-lfs clean -- %f
+ required = true
+
+[include]
+ # Include a file with computer-specific settings (like a different
+ # [user] section under a specific directory, etc.).
+ path = ~/.gitconfig_local
diff --git a/%USERPROFILE%/.gnupg/gpg.conf b/%USERPROFILE%/.gnupg/gpg.conf
index c9bf3fd..10887e0 120000..100644
--- a/%USERPROFILE%/.gnupg/gpg.conf
+++ b/%USERPROFILE%/.gnupg/gpg.conf
@@ -1 +1,8 @@
-../../linux-home/%HOME%/.gnupg/gpg.conf \ No newline at end of file
+no-greeting
+force-mdc
+keyserver hkp://keys.gnupg.net
+personal-cipher-preferences AES256 AES192 AES CAST5
+personal-digest-preferences SHA512 SHA384 SHA256 SHA224
+cert-digest-algo SHA512
+personal-compress-preferences ZLIB BZIP2 ZIP Uncompressed
+default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
diff --git a/%USERPROFILE%/.minttyrc b/%USERPROFILE%/.minttyrc
index 877508a..43fd612 120000..100644
--- a/%USERPROFILE%/.minttyrc
+++ b/%USERPROFILE%/.minttyrc
@@ -1 +1,23 @@
-../linux-home/%HOME%/.minttyrc \ No newline at end of file
+BoldAsFont=no
+Font=Consolas
+FontHeight=11
+Rows=25
+ScrollbackLines=9000
+BackgroundColour=30,30,30
+CursorColour=210,210,210
+Black=30,30,30
+BoldBlack=30,30,30
+Red=210,120,120
+BoldRed=210,120,120
+Green=120,210,120
+BoldGreen=120,210,120
+Yellow=210,210,120
+BoldYellow=210,210,120
+Blue=120,165,210
+BoldBlue=120,165,210
+Magenta=240,90,165
+BoldMagenta=240,90,165
+Cyan=90,210,210
+BoldCyan=90,210,210
+White=210,210,210
+BoldWhite=210,210,210
diff --git a/%USERPROFILE%/.ssh/authorized_keys b/%USERPROFILE%/.ssh/authorized_keys
new file mode 100644
index 0000000..1ffcd0e
--- /dev/null
+++ b/%USERPROFILE%/.ssh/authorized_keys
@@ -0,0 +1,7 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDQkayDZIKK6nT/PPjLJyiDvAfJcefMRwLqwUXop9ztW9LGTRtYNvmCrMs+WG+taj68jgTnRYIuxh8qvvUi3XmevjDtI3tc5fGKs8P7lVD0k6XBAuP0U3cKw/Gq7Hg8kzHQZpW0CrRkzbZPRiXiAFG2yIYtBbodTEXA6N198EKCHK19godANaR/ysfuOHvherwfIt/ph0nR4axK2A+nrCdI+rM4xnY7j73x3qgrv91V4xY/uUPgpnfDuirnIz3j79zY/T+Kmm+8uzk42Cwv6vdqlGiMEiAtELRe0ThyBlK4tRjdiR47kQNoGy+dKV4Fb7wy9Hh0vcWwXJYZej9Ai8sE0nOcrIie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jYElmi7S0GAyJvpz+Z96GkGRyMGqRs/tOJHo98te7fA6lY+cNxMGsX3udik6HHAzbJ8Y/BcgLSVV6EmaCT9i9OWLbnM6rJWqjbAetpK4diajmF9YQwce52rFWmoR4o2wepxvAeJyikwTx5iL+Fn9JeqbWfXxEK0hjbrLPK9ULGs33jenmVOgY27zwnr1zfwR/Xtmw9+2FeBpGiQbxHAv2Mil/gABszKHyb8NyrixbEpgg6ezP7L5c3KNg9tThiTscOiUb/NaO81ibsIkatcOoHrTm4qJIEf6My7LVgZFeDGg3I0IM2odCcQcIedwvVf9vOWyXNi8D2gSb0hDmuPOFAySScPM+6rsItcylYGMhIUOGkSLXJprBcgV1Yc5EhkOWvJ70e1eOnTJw== algo@tensin.vpn
diff --git a/%USERPROFILE%/.ssh/config b/%USERPROFILE%/.ssh/config
index e8c3b23..6cf0196 120000..100644
--- a/%USERPROFILE%/.ssh/config
+++ b/%USERPROFILE%/.ssh/config
@@ -1 +1,46 @@
-../../linux-home/%HOME%/.ssh/config \ No newline at end of file
+AddKeysToAgent yes
+
+# Make known_hosts actually readable.
+HashKnownHosts no
+
+# Don't verify localhost, duh.
+NoHostAuthenticationForLocalhost yes
+
+# Add server keys to known_hosts silently, I never bother to verify them
+# anyway.
+StrictHostKeyChecking no
+
+# Keep ssh connections alive.
+# Wonder why this isn't default.
+ServerAliveCountMax 3
+ServerAliveInterval 15
+
+# Actually, scratch that. Don't use known_hosts at all, what is this even for?
+# Kappa implied.
+UserKnownHostsFile /dev/null
+
+Include ~/.ssh/config_local
+
+Host bitbucket.org
+ User git
+Host github.com
+ User git
+
+Host alt-bitbucket
+ User git
+ Hostname altssh.bitbucket.org
+ Port 443
+Host alt-github
+ User git
+ Hostname ssh.github.com
+ Port 443
+
+Host 64.225.107.220 tensin-vpn vpn
+ HostName 64.225.107.220
+ User algo
+ Port 110
+
+Host 188.134.75.74 tensin-ext ext
+ HostName 188.134.75.74
+ User egor
+ Port 110