We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0c3d64 commit 4637df9Copy full SHA for 4637df9
scripts/cd.sh
@@ -1,4 +1,4 @@
1
-#!/bin/bash
+#!/usr/bin/env bash
2
3
# Immediate exit on failure
4
set -e
scripts/helper.sh
# Check if the directory is provided as an argument
if [ $# -lt 1 ] || [ $# -gt 2 ]; then
@@ -45,4 +45,4 @@ elif [ "$2" = "-p" ] || [ "$2" = "--path-version" ]; then
45
else
46
echo "Invalid option: '$2'"
47
exit 1
48
-fi
+fi
0 commit comments