Add bash as default command to threema-env
This commit is contained in:
parent
de980184c1
commit
f689e17e7a
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ let
|
||||||
|
|
||||||
ENV_NAME="$1"
|
ENV_NAME="$1"
|
||||||
ENV_FILE="$HOME/shares/cloud.threema.ch/envs/''${ENV_NAME}.nix"
|
ENV_FILE="$HOME/shares/cloud.threema.ch/envs/''${ENV_NAME}.nix"
|
||||||
COMMAND="$2"
|
COMMAND="''${2-bash}"
|
||||||
|
|
||||||
if [ -z "$ENV_NAME" ]; then
|
if [ -z "$ENV_NAME" ]; then
|
||||||
echo "Error: No env name provided" >&2
|
echo "Error: No env name provided" >&2
|
||||||
|
|
Loading…
Add table
Reference in a new issue