From 13ee5b7c725aff3bc4830733e16356966466e6ca Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Eugenio Halili Date: Mon, 4 Jul 2022 22:26:07 +0800 Subject: [PATCH] Migrate even more files to the config dir By the way, I also added an url config for git.sr.ht to use SSH instead of Git by default. Signed-off-by: Andrei Jiroh Eugenio Halili --- {gitconfig => config/gitconfig}/linux | 9 ++++----- {gitconfig => config/gitconfig}/termux | 0 {gitconfig => config/gitconfig}/wsl | 0 {nanorc => config/nanorc}/config/linux.nanorc | 0 {nanorc => config/nanorc}/config/termux | 0 {ssh-client => config/ssh-client}/linux | 0 {ssh-client => config/ssh-client}/termux | 0 {ssh-client => config/ssh-client}/ubuntu | 0 config/systemd/.gitkeep | 0 nanorc/highlighting | 1 - 10 files changed, 4 insertions(+), 6 deletions(-) rename {gitconfig => config/gitconfig}/linux (91%) rename {gitconfig => config/gitconfig}/termux (100%) rename {gitconfig => config/gitconfig}/wsl (100%) rename {nanorc => config/nanorc}/config/linux.nanorc (100%) rename {nanorc => config/nanorc}/config/termux (100%) rename {ssh-client => config/ssh-client}/linux (100%) rename {ssh-client => config/ssh-client}/termux (100%) rename {ssh-client => config/ssh-client}/ubuntu (100%) create mode 100644 config/systemd/.gitkeep delete mode 160000 nanorc/highlighting diff --git a/gitconfig/linux b/config/gitconfig/linux similarity index 91% rename from gitconfig/linux rename to config/gitconfig/linux index 53e6dab..0ddafcd 100644 --- a/gitconfig/linux +++ b/config/gitconfig/linux @@ -9,6 +9,7 @@ helper = !glab auth git-credential [credential "https://mau.dev"] helper = !glab auth git-credential + # User config [user] email = ajhalili2006@gmail.com @@ -31,14 +32,12 @@ # Enforce SSH # We commented thus block out coz we use the GitHub CLI's Git Credential # helper stuff -#[url "git@github.com:"] -# insteadOf = https://github.com/ -# pushInsteadOf = https://github.com/ [url "git+ssh://ajhalili2006@git.launchpad.net/"] insteadof = lp: pushInsteadOf = lp: -[url "git@bitbucket.org:"] - insteadOf = https://bitbucket.org/ +[url "git@git.sr.ht:"] + insteadOf = https://git.sh.rt + pushInsteadOf = https://git.sh.rt [init] defaultBranch = main # TODO: Set up aliases for ther Git hosts, like in Launchpad.net diff --git a/gitconfig/termux b/config/gitconfig/termux similarity index 100% rename from gitconfig/termux rename to config/gitconfig/termux diff --git a/gitconfig/wsl b/config/gitconfig/wsl similarity index 100% rename from gitconfig/wsl rename to config/gitconfig/wsl diff --git a/nanorc/config/linux.nanorc b/config/nanorc/config/linux.nanorc similarity index 100% rename from nanorc/config/linux.nanorc rename to config/nanorc/config/linux.nanorc diff --git a/nanorc/config/termux b/config/nanorc/config/termux similarity index 100% rename from nanorc/config/termux rename to config/nanorc/config/termux diff --git a/ssh-client/linux b/config/ssh-client/linux similarity index 100% rename from ssh-client/linux rename to config/ssh-client/linux diff --git a/ssh-client/termux b/config/ssh-client/termux similarity index 100% rename from ssh-client/termux rename to config/ssh-client/termux diff --git a/ssh-client/ubuntu b/config/ssh-client/ubuntu similarity index 100% rename from ssh-client/ubuntu rename to config/ssh-client/ubuntu diff --git a/config/systemd/.gitkeep b/config/systemd/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/nanorc/highlighting b/nanorc/highlighting deleted file mode 160000 index 1aa64a8..0000000 --- a/nanorc/highlighting +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1aa64a86cf4c750e4d4788ef1a19d7a71ab641dd