dots


commit
fa4c2c6
parent
9668ace
author
xxwhirlpool
date
2026-03-24 18:30:50 -0400 EDT
repls, misc
6 files changed,  +25, -7
M config/.bashrc-pc
+5, -0
 1@@ -129,6 +129,11 @@ alias gits="git status"
 2 alias gita="git add ."
 3 alias pusheu="git push bytes main && cd /home/kat/Documents/Git/-mine/eunoia-astro/src/utils && node git-changelog.js && cd ../../"
 4 
 5+# dev
 6+alias irb="rv run irb"
 7+alias ipy="python3 -i"
 8+alias iphp="php -a"
 9+
10 # vpn split tunnel aliases based on a small script @ ~/.local/bin/mvpn
11 alias mftp="mvpn filezilla"
12 alias mterm="mvpn kitty"
A config/.local/bin/cpwd
+3, -0
1@@ -0,0 +1,3 @@
2+#!/usr/bin/env bash
3+
4+pwd | tr -d "\n" | copy
A config/.local/bin/ijs
+10, -0
 1@@ -0,0 +1,10 @@
 2+#!/usr/bin/env bash
 3+
 4+if [[ $(command -v deno ) ]]; then
 5+	deno repl
 6+elif [[ $(command -v node) ]]; then
 7+	node
 8+else
 9+	echo "no JS runtime found :("
10+	exit 1
11+fi
M config/.local/bin/lowerd
+3, -3
 1@@ -6,7 +6,7 @@
 2 #   - `lowerd -i`
 3 
 4 default() {
 5-	tr '[:upper:]' '[:lower:]' | perl -pe "chomp if eof" | tee >(xclip -selection clipboard)
 6+	tr '[:upper:]' '[:lower:]' | tr -d "\n" | tee >(xclip -selection clipboard)
 7 }
 8 
 9 takearg() {
10@@ -14,11 +14,11 @@ takearg() {
11 }
12 
13 stdinpaste() {
14-	gum write --header="paste text here" | tr '[:upper:]' '[:lower:]' | perl -pe "chomp if eof" | batcat --paging=never | tee >(xclip -selection clipboard)
15+	gum write --header="paste text here" | tr '[:upper:]' '[:lower:]' | tr -d "\n" | batcat --paging=never | tee >(xclip -selection clipboard)
16 }
17 
18 case "$1" in
19 	"") default ;;
20-	"-i") stdinpaste ;;
21+	"-i") stdinpaste && echo -e "\n" ;;
22 	*) takearg "$@" ;;
23 esac
M config/.local/bin/mksh
+1, -1
1@@ -1,6 +1,6 @@
2 #!/usr/bin/env bash
3 
4-if [[ $# -eq 0 ]]; then
5+if [[ $# -eq 0 || $1 == "-b" && $# -ne 2 ]]; then
6 	echo "Usage: mksh [-b] [FILENAME]"
7 	echo "       -b puts it in PATH"
8 	echo "       else default to pwd"
M config/.local/bin/upperd
+3, -3
 1@@ -6,7 +6,7 @@
 2 #   - `upperd -i`
 3 
 4 default() {
 5-	tr '[:lower:]' '[:upper:]' | perl -pe "chomp if eof" | tee >(xclip -selection clipboard)
 6+	tr '[:lower:]' '[:upper:]' | tr -d "\n" | tee >(xclip -selection clipboard)
 7 }
 8 
 9 takearg() {
10@@ -14,11 +14,11 @@ takearg() {
11 }
12 
13 stdinpaste() {
14-	gum write --header="paste text here" | tr '[:lower:]' '[:upper:]' | perl -pe "chomp if eof" | batcat --paging=never | tee >(xclip -selection clipboard)
15+	gum write --header="paste text here" | tr '[:lower:]' '[:upper:]' | tr -d "\n" | batcat --paging=never | tee >(xclip -selection clipboard)
16 }
17 
18 case "$1" in
19 	"") default ;;
20-	"-i") stdinpaste ;;
21+	"-i") stdinpaste && echo -e "\n" ;;
22 	*) takearg "$@" ;;
23 esac