repo: Update Ubuntu and Termux stuff

Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
Andrei Jiroh Eugenio Halili 2021-04-28 22:58:24 +08:00
parent 8c06252982
commit 7dc763573c
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
3 changed files with 21 additions and 4 deletions

View File

@ -1,3 +1,5 @@
#!/bin/env bash
# Start GPG and SSH agents
export GPG_TTY=$(tty)
eval $(gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info")
@ -25,6 +27,7 @@ export DOTFILES_HOME=$HOME/.dotfiles
#rm -rf ~/.bash_history>>/dev/null && history -c && echo "history-cleanup: Shell history cleaned for past session" || echo "history-cleanup: No bash_history file found for past session."
# then do chain sourcing
<<<<<<< Updated upstream
source ~/.dotfiles/bashrc/chain-source
# check if thefuck Python3 package is there
@ -45,3 +48,6 @@ clear
# then have termux-chroot
termux-chroot
=======
source "$HOME/.dotfiles/bashrc/chain-source"
>>>>>>> Stashed changes

View File

@ -6,7 +6,10 @@ Host ubuntu-vm
Host gitlab.com
User git
IdentityFile ~/.ssh/github-personal
IdentityFile ~/.ssh/launchpad
Host github.com
User git
IdentityFile ~/.ssh/launchpad
# Launchpad.net SSH keys for mirroring some repos manually,
# partularly the gitlab.com:termux-package-android5x/src.git repo

View File

@ -1,3 +1,5 @@
#!/usr/bin/bash
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
@ -126,15 +128,21 @@ export PATH="$HOME/.deta/bin:$PATH"
# scripts in ~/.local/bin and ~/.dotfiles/bin
# also $HOME/.cargo/bin
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.dotfiles/bin:$PATH"
export DOTFILES_STUFF_BIN="$HOME/.dotfiles/bin"
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$DOTFILES_STUFF_BIN:$PATH"
# use nano instead of vi
# for git, there's the option of firing up VS Code, if you prefered.
EDITOR=nano
export EDITOR=nano
# autocompletion for GitHub CLI
eval "$(gh completion -s bash)"
# custom aliases and functions I made
# sorucing through the chain-source script
source $HOME/.dotfiles/bashrc/chain-source
source "$HOME/.dotfiles/bashrc/chain-source"
# https://packaging.ubuntu.com/html/getting-set-up.html#configure-your-shell
export DEBFULLNAME="Andrei Jiroh Halili"
## can't add this email to my Launchpad profile, probably because I'm using an free domain lol.
export DEBEMAIL="andreijiroh@madebythepins.tk"