shell: magic comments in various scripts
This commit is contained in:
parent
9e37eb0e82
commit
7f8db88964
6 changed files with 10 additions and 2 deletions
|
@ -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?"
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env nu
|
||||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i nu -p nushell
|
||||
|
||||
def main [path: string] {
|
||||
glob $path | each { |item|
|
||||
|
|
|
@ -3,3 +3,5 @@ printf "\033]1337;SetUserVar=%s=%s\007" cmd-domain `echo -n ssh | base64`
|
|||
et -c "$*" mediaserver
|
||||
|
||||
printf "\033]1337;SetUserVar=%s=%s\007" cmd-domain `echo -n local | base64`
|
||||
|
||||
# vim: ft=sh
|
||||
|
|
|
@ -30,3 +30,5 @@ fi
|
|||
|
||||
rm -f result
|
||||
popd
|
||||
|
||||
# vim: ft=sh
|
||||
|
|
|
@ -11,3 +11,5 @@ case "$os" in
|
|||
echo "Unsupported OS"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
# vim: ft=sh
|
||||
|
|
0
home/programs/zsh/functions/wssh
Normal file → Executable file
0
home/programs/zsh/functions/wssh
Normal file → Executable file
Loading…
Reference in a new issue