1
0
Fork 0

shell: magic comments in various scripts

This commit is contained in:
Daniel Kempkens 2025-01-08 10:00:39 +01:00
parent 9e37eb0e82
commit 7f8db88964
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
6 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,5 @@
#!/usr/bin/env nu #!/usr/bin/env nix-shell
#! nix-shell -i nu -p nushell
let base_url = "https://media-browser.internal.kempkens.network/management/jobs/BdfrDownload/run?" let base_url = "https://media-browser.internal.kempkens.network/management/jobs/BdfrDownload/run?"

View file

@ -1,4 +1,5 @@
#!/usr/bin/env nu #!/usr/bin/env nix-shell
#! nix-shell -i nu -p nushell
def main [path: string] { def main [path: string] {
glob $path | each { |item| glob $path | each { |item|

View file

@ -3,3 +3,5 @@ printf "\033]1337;SetUserVar=%s=%s\007" cmd-domain `echo -n ssh | base64`
et -c "$*" mediaserver et -c "$*" mediaserver
printf "\033]1337;SetUserVar=%s=%s\007" cmd-domain `echo -n local | base64` printf "\033]1337;SetUserVar=%s=%s\007" cmd-domain `echo -n local | base64`
# vim: ft=sh

View file

@ -30,3 +30,5 @@ fi
rm -f result rm -f result
popd popd
# vim: ft=sh

View file

@ -11,3 +11,5 @@ case "$os" in
echo "Unsupported OS" echo "Unsupported OS"
exit 1 exit 1
esac esac
# vim: ft=sh

0
home/programs/zsh/functions/wssh Normal file → Executable file
View file