summaryrefslogtreecommitdiff
path: root/config/essentials
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-29 21:31:46 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-29 21:31:46 +0100
commit81b726707d458050682a779530247dd6a4ae1d16 (patch)
tree5d775bcd7869b814e8e2fc55b17da0d6664267bd /config/essentials
parent0e5e622952fe51588f1537e621c63cbe4a91c136 (diff)
checkpoint
Diffstat (limited to 'config/essentials')
-rw-r--r--config/essentials/shell/functions.sh16
-rw-r--r--config/essentials/zsh/.zshrc2
2 files changed, 2 insertions, 16 deletions
diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh
index ac51bd5..1aecccc 100644
--- a/config/essentials/shell/functions.sh
+++ b/config/essentials/shell/functions.sh
@@ -69,7 +69,7 @@ trcp() { scp "$1" db:/media/basilisk/downloads/transmission/torrents/; }
rln() { ln -s "$(readlink -f "$1")" "$2"; }
getgit() { git clone git@db:"$1"; }
esc() { eval "$EDITOR '$(which $1)'"; }
-
+ssh_keyadd() { ssh-keygen -f "$HOME"/.ssh/"$1" -P "$(pass generate -f keys/"$HOST"/ssh/"$1" | tail -n 1)" -t ed25519; }
delfile() { curl -s "${2:-https://upfast.cronyakatsuki.xyz/delete/$1}"; }
upfile() { curl -s -F "file=@\"$1\"" "${2:-https://0x0.st}"; }
to_webm() { ffmpeg -y -i "$1" -vcodec libvpx -cpu-used -12 -deadline realtime "${1%.*}".webm; }
@@ -284,19 +284,6 @@ wgt() {
doas wg-quick up "$d"
}
-# serve a file through dufs
-serve() {
- if [ "$1" ]
- then
- logn "Serving $1"
- dufs "$1"
- else
- logn "Receiving files.."
- dufs /tmp/data --alow-upload
- fi
-}
-
-ssh_keyadd() { ssh-keygen -f "$HOME"/.ssh/"$1" -P "$(pass generate -f keys/"$HOST"/ssh/"$1" | tail -n 1)" -t ed25519; }
fchange()
@@ -394,4 +381,3 @@ ssh() {
done
/usr/bin/ssh $@
}
-
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc
index f5debdb..a8fd43e 100644
--- a/config/essentials/zsh/.zshrc
+++ b/config/essentials/zsh/.zshrc
@@ -144,4 +144,4 @@ setopt notify
# zprof
-PATH="$PATH:$HOME/proj/chatty/v2/"
+PATH="$PATH:$HOME/proj/chatty/"