dotfiles

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

commit 756c8a1185d485497a3d25d1c739c27473036663
parent db9c9114335d089d3b794d9e8e84b76572f11019
Author: regexghost <dev@regexghost.com>
Date:   Wed,  5 Aug 2026 22:35:35 +0100

os-transfer-backup bug fix, and new qssh script, removed ssh aliases in kshrc

Diffstat:
Mdotfiles/.kshrc | 3---
Mterminal-scripts/Makefile | 1+
Mterminal-scripts/os-transfer-backup.sh | 2++
Aterminal-scripts/qssh.sh | 7+++++++
4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/dotfiles/.kshrc b/dotfiles/.kshrc @@ -63,9 +63,6 @@ alias pong='ping -c 2 -W 2' alias wl='feh --bg-fill --no-fehbg ~/.config/regexghost/wallpaper.jpg' alias capture-window='echo "Focus window to capture" && sleep 1 && id="$(xdotool getactivewindow)" && echo "Got id" && sleep 1 && import -frame -window "$id"' alias da='download-vids && download-pods' -alias sshr='ssh racknerd' -alias sshp='ssh piserver' -alias sshg='ssh gopherbox' alias qv='~/.config/newsraft/queue-vid.sh' alias trash-size='du -s -h ~/.local/share/Trash/files/ | cut -f 1' alias sync='echo "Syncing"; sync; echo "Done"; lsblk' diff --git a/terminal-scripts/Makefile b/terminal-scripts/Makefile @@ -43,3 +43,4 @@ normal: cp files.sh ${BIN}/files cp calendar.sh ${BIN}/calendar cp date-time.sh ${BIN}/date-time + cp qssh.sh ${BIN}/qssh diff --git a/terminal-scripts/os-transfer-backup.sh b/terminal-scripts/os-transfer-backup.sh @@ -14,10 +14,12 @@ fi if pgrep firefox; then echo "Close Firefox" + exit fi if pgrep chromium; then echo "Close Chromium" + exit fi BACKUP_LOCATION="$HOME/temp/OSTransfer" diff --git a/terminal-scripts/qssh.sh b/terminal-scripts/qssh.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +host="$(grep "^Host" ~/.ssh/config | cut -d " " -f 2- | fzf)" + +[ "$host" = "" ] && exit + +ssh "$host"