Skip to content

Commit

Permalink
fix: Change shebang at the begining of a shell script (#24)
Browse files Browse the repository at this point in the history
Changed the shebang in the script from `#!/bin/bash` to a more
portable `#!/usr/bin/env bash`. This modification aims to enhance
the script's portability across different operating systems.

Using `#!/usr/bin/env bash` allows the script to dynamically
locate the bash interpreter in the current environment, eliminating
potential issues associated with variations in the location of the
bash interpreter on different systems. Additionally, this adjustment
facilitates collaboration with environments where program paths may
differ.

The purpose of this change is to improve the script's portability
and minimize the need for manual updates to the bash interpreter
path in case of any future changes.
  • Loading branch information
mdsanima authored Jan 14, 2024
1 parent 02d7ed4 commit 03dd0d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/mdsanima-colors
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Copyright (c) 2023-2024 MDSANIMA DEV. All rights reserved.
# Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion bin/mdsanima-shell
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Copyright (c) 2023-2024 MDSANIMA DEV. All rights reserved.
# Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion bin/mdsanima-theme
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Copyright (c) 2023-2024 MDSANIMA DEV. All rights reserved.
# Licensed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion bin/mdsanima-weather
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Copyright (c) 2023-2024 MDSANIMA DEV. All rights reserved.
# Licensed under the MIT license.
Expand Down

0 comments on commit 03dd0d9

Please sign in to comment.