Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature. gitlab.com/andreijiroh-dev/dotfiles
linux dotfiles
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(bashrc): add asdf to bash/tools config directory

This should finally elimate the painful manual exports from
~/.asdf/asdf.sh file after initing submodules post-clone.

Also in this commit, I also edited the sign-tarball script to
not hardcode the GPG key ID when signing. I may implement CLI
flags in the future as needed.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>

+5 -1
+3
.config/bash/tools/asdf.bashrc
··· 1 + #!/usr/bin/env bash 2 + 3 + [ -s "$HOME/.asdf/asdf.sh" ] && source "$HOME/.asdf/asdf.sh"
+2 -1
bin/sign-tarball
··· 1 1 #!/bin/sh 2 2 project="$(basename $(pwd))" 3 3 version="$(git describe)" 4 + key="${RELEASE_SIGNING_KEY:-\"940047813E9D641C\"}" 4 5 5 6 git archive --format=tar.gz --prefix="$project-$version/" "$version" \ 6 7 >"$project-$version.tar.gz" 7 - gpg --detach-sign "$@" --default-key 940047813E9D641C "$project-$version.tar.gz" \ 8 + gpg --detach-sign "$@" --default-key "$key" "$project-$version.tar.gz" \ 8 9 >/tmp/"$project-$version".tar.gz.sig