i have zero coding skills but somehow (mainly goggle) managed to write this script
(defun z/dired-shell-other-window-beets ()
"Open a shell with dired path in a new window and issue beet import on file at point "
(interactive)
(let ((buf (shell)))
(switch-to-buffer (other-buffer buf))
(switch-to-buffer-other-window buf)
(insert (concat "beet import " (dired-copy-filename-as-kill) ))
))
what im trying to do is issue a interactive shell command (beet import) on the current folder point is on in dired
i managed to get the beet import inserted to the new shell buffer thats opened but how do i follow that with the current dir name/path?