repo: Moved stuff to be more organized4s
Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
parent
079b015052
commit
3eb95c4f3c
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
git/linux
|
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
bashrc/termux
|
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
gitconfig/termux
|
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
gitconfig/wsl
|
Loading…
Reference in New Issue