Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not use hardcoded sh, bash or python3 path #45

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/hollywood
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# N.B.: Use bash for $RANDOM
#
# hollywood: create a hollywood suitable consoles of tech geekery
Expand Down Expand Up @@ -74,7 +74,7 @@ if [ -z "$TMUX" ]; then
else
tmux_launcher=tmux
fi
$tmux_launcher new-session -d -s $PKG "/bin/bash"
$tmux_launcher new-session -d -s $PKG "bash"
$tmux_launcher send-keys -t $PKG "$0 $1"
$tmux_launcher send-keys -t $PKG Enter
exec $tmux_launcher attach-session -t $PKG
Expand Down
4 changes: 2 additions & 2 deletions bin/wallstreet
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# N.B.: Use bash for $RANDOM
#
# wallstreet: create wallstreet suitable consoles of news nerdery
Expand Down Expand Up @@ -42,7 +42,7 @@ if [ -z "$TMUX" ]; then
else
tmux_launcher=tmux
fi
$tmux_launcher new-session -d -s $PKG "/bin/bash"
$tmux_launcher new-session -d -s $PKG "bash"
$tmux_launcher send-keys -t $PKG "$0 $1"
$tmux_launcher send-keys -t $PKG Enter
exec $tmux_launcher attach-session -t $PKG
Expand Down
2 changes: 1 addition & 1 deletion lib/hollywood/code
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright 2014 Dustin Kirkland <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion lib/hollywood/jp2a
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright 2014 Dustin Kirkland <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion lib/hollywood/mplayer
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright 2014 Dustin Kirkland <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion lib/wallstreet/breaks
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# Copyright 2016 Dustin Kirkland <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion lib/wallstreet/img2txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright 2016 Dustin Kirkland <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion lib/wallstreet/jp2a
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright 2016 Dustin Kirkland <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion lib/wallstreet/newsboat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
#
# Copyright 2016 Dustin Kirkland <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion lib/wallstreet/rsstail
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright 2016 Dustin Kirkland <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion lib/wallstreet/ticker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
#
# Copyright 2016 Dustin Kirkland <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion lib/wallstreet/w3m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
#
# Copyright 2016 Dustin Kirkland <[email protected]>
#
Expand Down