repo: Moved stuff to be more organized4s

Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
Andrei Jiroh Eugenio Halili 2021-03-05 19:54:41 +08:00
parent 079b015052
commit 3eb95c4f3c
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
8 changed files with 61 additions and 57 deletions

24
bashrc/termux Executable file
View File

@ -0,0 +1,24 @@
# Start GPG and SSH agents
export GPG_TTY=$(tty)
eval $(gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info")
if [ -f "${HOME}/.gpg-agent-info" ]; then
# gpg-agent[****]: WARNING: "--write-env-file" is an obsolete
# option - it has no effect
. "${HOME}/.gpg-agent-info"
export GPG_AGENT_INFO
export SSH_AUTH_SOCK
export SSH_AGENT_PID
else
echo "Howdy, user ID ${EUID}. Shenanigans beget shenanigans."
# not needed this because we have .ssh/config
# but keep this uncommented because Git is being
# an dougebag in every single shell sessiob.
source ~/.dotfiles/bin/source-ssh-agent
fi
# Run this with add-ssh-keys instead
#ssh-add $HOME/.ssh/github-personal
# Then add my scripts
export DOTFILES_STUFF_BIN="$HOME/.dotfiles/bin"
export PATH=$PATH:$DOTFILES_STUFF_BIN

8
gitconfig/linux Normal file
View File

@ -0,0 +1,8 @@
[credential "https://github.com"]
helper = !gh auth git-credential
[user]
email = andreijiroh@madebythepins.tk
name = Andrei Jiroh Eugenio Halili
signingkey = A30EBE40AD856D88
[commit]
gpgsign = true

16
gitconfig/termux Normal file
View File

@ -0,0 +1,16 @@
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Andrei Jiroh Eugenio Halili
email = andreijiroh@madebythepins.tk
signingKey = A30EBE40AD856D88
[commit]
signoff = true
gpgSign = true
[tag]
gpgSign = true
[core]
## For god's sake, use Nano as possible.
## This way, we don't need to install VS Code again
## if we want to edit files.
editor = open-editor

9
gitconfig/wsl Normal file
View File

@ -0,0 +1,9 @@
[user]
email = andreijiroh@madebythepins.tk
name = Andrei Jiroh Halili
[credential "https://github.com"]
helper = !gh auth git-credential
[credential]
helper = /mnt/c/Program\\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe
[protocol]
version = 2

View File

@ -1,8 +0,0 @@
[credential "https://github.com"]
helper = !gh auth git-credential
[user]
email = andreijiroh@madebythepins.tk
name = Andrei Jiroh Eugenio Halili
signingkey = A30EBE40AD856D88
[commit]
gpgsign = true

1
linux.gitconfig Symbolic link
View File

@ -0,0 +1 @@
git/linux

View File

@ -1,24 +0,0 @@
# Start GPG and SSH agents
export GPG_TTY=$(tty)
eval $(gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info")
if [ -f "${HOME}/.gpg-agent-info" ]; then
# gpg-agent[****]: WARNING: "--write-env-file" is an obsolete
# option - it has no effect
. "${HOME}/.gpg-agent-info"
export GPG_AGENT_INFO
export SSH_AUTH_SOCK
export SSH_AGENT_PID
else
echo "Howdy, user ID ${EUID}. Shenanigans beget shenanigans."
# not needed this because we have .ssh/config
# but keep this uncommented because Git is being
# an dougebag in every single shell sessiob.
source ~/.dotfiles/bin/source-ssh-agent
fi
# Run this with add-ssh-keys instead
#ssh-add $HOME/.ssh/github-personal
# Then add my scripts
export DOTFILES_STUFF_BIN="$HOME/.dotfiles/bin"
export PATH=$PATH:$DOTFILES_STUFF_BIN

1
termux.bashrc Symbolic link
View File

@ -0,0 +1 @@
bashrc/termux

View File

@ -1,16 +0,0 @@
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Andrei Jiroh Eugenio Halili
email = andreijiroh@madebythepins.tk
signingKey = A30EBE40AD856D88
[commit]
signoff = true
gpgSign = true
[tag]
gpgSign = true
[core]
## For god's sake, use Nano as possible.
## This way, we don't need to install VS Code again
## if we want to edit files.
editor = open-editor

1
termux.gitconfig Symbolic link
View File

@ -0,0 +1 @@
gitconfig/termux

View File

@ -1,9 +0,0 @@
[user]
email = andreijiroh@madebythepins.tk
name = Andrei Jiroh Halili
[credential "https://github.com"]
helper = !gh auth git-credential
[credential]
helper = /mnt/c/Program\\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe
[protocol]
version = 2

1
wsl.gitconfig Symbolic link
View File

@ -0,0 +1 @@
gitconfig/wsl