repo: Updated config for different stuff
* Updated shell aliases * Updated config for Termux in nano * Follow-up to previous commit: Use Launchpad SSH key by default on GitHub and GitLab. (sorry BitBucket, but you look kinda sus.) Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
parent
5f6b778fe1
commit
d771717313
|
@ -25,6 +25,7 @@
|
|||
##################################################
|
||||
|
||||
# basic git commands
|
||||
alias clone="git clone"
|
||||
alias stats="git status"
|
||||
## shortcuts to creating commits
|
||||
alias commit="git commit --signoff --gpg-sign"
|
||||
|
@ -43,7 +44,7 @@ alias apply-stash="git stash apply"
|
|||
alias yeet-stash="git stash drop"
|
||||
## staging stuff
|
||||
alias stage="git add"
|
||||
alias unstage="git rm --cached"
|
||||
alias unstage="git restore --staged"
|
||||
alias nuke-from-index="git rm"
|
||||
|
||||
# branch management
|
||||
|
|
|
@ -3,3 +3,7 @@ include /data/data/com.termux/files/usr/share/nano/*
|
|||
|
||||
# then import ours
|
||||
include /data/data/com.termux/files/home/.dotfiles/nanorc/highlighting/*.nanorc
|
||||
|
||||
# enable soft wrapping
|
||||
#set softwrap
|
||||
|
||||
|
|
|
@ -18,21 +18,21 @@ Host launchpad-bazar
|
|||
# to generate 2FA backup codes remotely.
|
||||
Host github
|
||||
Hostname github.com
|
||||
IdentityFile ~/.ssh/github-personal
|
||||
IdentityFile ~/.ssh/launchpad
|
||||
User git
|
||||
Host gitlab
|
||||
Hostname gitlab.com
|
||||
IdentityFile ~/.ssh/github-personal
|
||||
IdentityFile ~/.ssh/launchpad
|
||||
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
|
||||
IdentityFile ~/.ssh/launchpad
|
||||
User git
|
||||
Host gitlab.com
|
||||
IdentityFile ~/.ssh/github-personal
|
||||
IdentityFile ~/.ssh/launchpad
|
||||
User git
|
||||
Host git.launchpad.net
|
||||
IdentityFile ~/.ssh/launchpad
|
||||
|
@ -45,5 +45,5 @@ Host git.divio.com
|
|||
User git
|
||||
|
||||
# Divio Stuff
|
||||
Host ssh.black.aldryn.ne
|
||||
Host ssh.black.aldryn.net
|
||||
IdentityFile ~/.ssh/launchpad
|
||||
|
|
Loading…
Reference in New Issue