dotfiles

regexghost dotfiles and scripts
git clone https://git.regexghost.com/dotfiles.git
Log | Files | Refs | README

commit 371676f2a21a9bd6eb4a218962617ce6162e2049
parent 6f12e3f5a39a07bb38732760de7eb3d41539eabb
Author: regexghost <dev@regexghost.com>
Date:   Tue,  1 Sep 2026 21:04:10 +0100

command to remove caps lock in commands.txt, fixes in other-programs.sh

Diffstat:
Mguides/commands.txt | 3+++
Mother-programs.sh | 6++++--
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/guides/commands.txt b/guides/commands.txt @@ -16,3 +16,6 @@ sudo visudo = sed print or delete given line sed '4p' sed '4d' + += X toggle caps lock +xdotool key Caps_lock diff --git a/other-programs.sh b/other-programs.sh @@ -1,9 +1,11 @@ #!/bin/sh +root="$(pwd)" + export PATH="/usr/bin:$PATH" cleanup () { - cd .. + cd "$root" read -p "Delete temp folder (y/N)? " yesOrNo if [ "$yesOrNo" = "y" ] || [ "$yesOrNo" = "Y" ]; then [ -d temp_programs/ ] && trash-put temp_programs/ @@ -360,7 +362,7 @@ alpine () { mkdir alpine cd alpine url="$(curl "https://alpineapp.email/" | grep "HREF" | grep "tar.xz" | head -n 1 | cut -d "\"" -f 4)" - wget "$url" + wget "https://alpineapp.email/${url}" tar -xf *.xz cd */ ./configure