repo: Do some chaos stuff

Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
Andrei Jiroh Eugenio Halili 2021-04-05 17:44:55 +08:00
parent 2e5b8a7448
commit 99f5ad0bca
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
4 changed files with 58 additions and 43 deletions

View File

@ -22,3 +22,7 @@ fi
# Then add my scripts
export DOTFILES_STUFF_BIN="$HOME/.dotfiles/bin"
export PATH=$PATH:$DOTFILES_STUFF_BIN
# clean up bash history
echo
rm .bash_history && echo "Shell history cleaned for past session"

View File

@ -4,6 +4,8 @@
name = Andrei Jiroh Eugenio Halili
email = andreijiroh@madebythepins.tk
# Don't ask why I don't use my old GPG key anymore.
# The old key I'm saying is the one in Keybase.
# Looks kinda outdated, but I'll fix it soon.
signingKey = A30EBE40AD856D88
[commit]
signoff = true
@ -15,3 +17,13 @@
## This way, we don't need to install VS Code again
## if we want to edit files.
editor = nano
# Enforce SSH
[url "git@github.com:"]
insteadOf = https://github.com/
pushInsteadOf = https://github.com/
[url "git@gitlab.com:"]
insteadOf = https://gitlab.com/
pushInsteadOf = https://gitlab.com/
[url "git@bitbucket.org:"]
insteadOf = https://bitbucket.org/

View File

@ -1 +0,0 @@
/data/data/com.termux/files/home/.dotfiles/ssh/termux

42
ssh-client/termux Normal file
View File

@ -0,0 +1,42 @@
# Launchpad.net SSH keys for mirroring some repos manually,
# partularly the gitlab.com:termux-package-android5x/src.git repo
# among any sort of shits and giggles.
Host launchpad-git
Hostname git.launchpad.net
IdentityFile ~/.ssh/launchpad
User ajhalili2006
Host launchpad-bazar
Hostname bazar.launchpad.net
IdentityFile ~/.ssh/launchpad
User ajhalili2006
# GitHub.com and some GitLab instance SSH Keys
# Copying-pasting PAT is a distater in case they're yeeted by
# some random pajeet who hacked my motherfucking Linux/Win10 PC
# Sometimes, these are shortcuts in case I need to check
# if they're still working after importing my keys or when I need
# to generate 2FA backup codes remotely.
Host github
Hostname github.com
IdentityFile ~/.ssh/github-personal
User git
Host gitlab
Hostname gitlab.com
IdentityFile ~/.ssh/github-personal
User git
# Git sometimes an shit in SSH client conifg
# especially if I typed the full domain instead of
# shortcuts I made.
Host github.com
IdentityFile ~/.ssh/github-personal
User git
Host gitlab.com
IdentityFile ~/.ssh/github-personal
User git
Host git.launchpad.net
IdentityFile ~/.ssh/launchpad
User ajhalili2006
Host bazar.launchpad.net
IdentityFile ~/.ssh/launchpad
User ajhalili2006

View File

@ -1,42 +0,0 @@
# Launchpad.net SSH keys for mirroring some repos manually,
# partularly the gitlab.com:termux-package-android5x/src.git repo
# among any sort of shits and giggles.
Host launchpad-git
Hostname git.launchpad.net
IdentityFile ~/.ssh/launchpad
User ajhalili2006
Host launchpad-bazar
Hostname bazar.launchpad.net
IdentityFile ~/.ssh/launchpad
User ajhalili2006
# GitHub.com and some GitLab instance SSH Keys
# Copying-pasting PAT is a distater in case they're yeeted by
# some random pajeet who hacked my motherfucking Linux/Win10 PC
# Sometimes, these are shortcuts in case I need to check
# if they're still working after importing my keys or when I need
# to generate 2FA backup codes remotely.
Host github
Hostname github.com
IdentityFile ~/.ssh/github-personal
User git
Host gitlab
Hostname gitlab.com
IdentityFile ~/.ssh/github-personal
User git
# Git sometimes an shit in SSH client conifg
# especially if I typed the full domain instead of
# shortcuts I made.
Host github.com
IdentityFile ~/.ssh/github-personal
User git
Host gitlab.com
IdentityFile ~/.ssh/github-personal
User git
Host git.launchpad.net
IdentityFile ~/.ssh/launchpad
User ajhalili2006
Host bazar.launchpad.net
IdentityFile ~/.ssh/launchpad
User ajhalili2006