about summary refs log tree commit diff stats
path: root/config/ksh/functions
diff options
context:
space:
mode:
Diffstat (limited to 'config/ksh/functions')
-rw-r--r--config/ksh/functions/man_complete2
-rw-r--r--config/ksh/functions/mpvpin2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/ksh/functions/man_complete b/config/ksh/functions/man_complete
index 291db3d..bab26dd 100644
--- a/config/ksh/functions/man_complete
+++ b/config/ksh/functions/man_complete
@@ -1,4 +1,4 @@
 #!/bin/ksh
 man_complete() {
-	set -A complete_man -- $(<$HOME/.cache/ksh/precompletions/manpages)
+	set -A complete_man -- $(<~cache/ksh/precompletions/manpages)
 }
diff --git a/config/ksh/functions/mpvpin b/config/ksh/functions/mpvpin
index 0cc3cf5..7fabc6c 100644
--- a/config/ksh/functions/mpvpin
+++ b/config/ksh/functions/mpvpin
@@ -1,4 +1,4 @@
 #!/bin/ksh
 mpvpin() {
-	mpv --input-ipc-server=/tmp/mpv-socket$(date +%s) --quiet --title "PIN" "$1" >/dev/null 2>&1 &
+	mpv --no-terminal --title "PIN" "$1" >/dev/null 2>&1 &
 }