summaryrefslogtreecommitdiff
path: root/config/essentials/shell/functions.sh
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-03-11 11:09:12 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-03-11 11:09:12 +0100
commit943723bd5e4a23f5586721ed5ea4807e70470f46 (patch)
tree828b114df29c49554afcf9af2a55af2d64ce72a2 /config/essentials/shell/functions.sh
parent6f09502a8055feafb89294be38d2018729bdabee (diff)
[zsh] added pcp
Diffstat (limited to 'config/essentials/shell/functions.sh')
-rw-r--r--config/essentials/shell/functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh
index a04a2cd..ce02490 100644
--- a/config/essentials/shell/functions.sh
+++ b/config/essentials/shell/functions.sh
@@ -77,6 +77,7 @@ remove_audio() { ffmpeg -i "$1" -cpu-used -$(nproc) -deadline realtime -c copy -
nasg() { smbclient //192.168.178.24/Public/ -D ENFANTS/Luca/tmp -N -c "get $1"; }
trll() { printf "%s\n" "$1" | trl 2>/dev/null; }
vidlen() { date -u -d @"$(ffprobe -show_entries format=duration -v quiet -of csv="p=0" -i "$1")" +'%T'; }
+pcp() { readlink -f "$1" | clipp; }
ipc()
{