summary refs log tree commit diff
diff options
context:
space:
mode:
authorDruid520 <r.ustydruid520@proton.me>2026-08-06 10:01:17 -0700
committerDruid520 <r.ustydruid520@proton.me>2026-08-06 10:01:17 -0700
commit0cca22f8fcf059f3700e361d062755f0bb641628 (patch)
tree4918194b2b3fc9ecf91e1f74bc2f3bc47749c43f
parentad787f6da2eda761290a1e8813e32f47c81ebc1d (diff)
MOD: fix alias and gpgsign
-rw-r--r--okshrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/okshrc b/okshrc index 806a263..ad18092 100644 --- a/okshrc +++ b/okshrc
@@ -42,7 +42,6 @@ alias english='export LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8'
42alias timestamp='date +%Y-%m-%d_%H-%M -u' 42alias timestamp='date +%Y-%m-%d_%H-%M -u'
43alias monero='monero-wallet-cli' 43alias monero='monero-wallet-cli'
44alias filehash='openssl dgst -shake256 -xoflen 128' 44alias filehash='openssl dgst -shake256 -xoflen 128'
45alias opencode='qemu-x86_64 -cpu Nehalem /usr/local/bin/opencode'
46alias rconnect='rtl_fm -f 462.5625M -M fm -s 22050 -g 40 -l 50 | aplay -r 22050 -f S16_LE' 45alias rconnect='rtl_fm -f 462.5625M -M fm -s 22050 -g 40 -l 50 | aplay -r 22050 -f S16_LE'
47 46
48gpgsign() { 47gpgsign() {
@@ -94,7 +93,7 @@ gpgsign() {
94 echo "err: failed to sign." 93 echo "err: failed to sign."
95 mv "$backup_file" "$file" 94 mv "$backup_file" "$file"
96 rm -f "$temp_file" 95 rm -f "$temp_file"
97 return 0 96 return 1
98 } 97 }
99 98
100 if gpg --verify "$temp_file" 2>/dev/null; then 99 if gpg --verify "$temp_file" 2>/dev/null; then