diff --git a/cptemplate.sh b/cptemplate.sh index 9e50d4d..a56425b 100755 --- a/cptemplate.sh +++ b/cptemplate.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash # Copy a file from ~/Templates to a given name # # Dependencies: diff --git a/ddusb.py b/ddusb.py index eb8ae68..d038228 100755 --- a/ddusb.py +++ b/ddusb.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """Wrapper script for using dd to write to a USB drive.""" import argparse diff --git a/drivetemp.py b/drivetemp.py index e06968d..aee0713 100755 --- a/drivetemp.py +++ b/drivetemp.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """Check the temperature of a drive. Functions: verify_device_node(query) diff --git a/fedit.py b/fedit.py index d7c4b6a..a80eb45 100755 --- a/fedit.py +++ b/fedit.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """ Fuzzy-find a file and edit it. diff --git a/fless.sh b/fless.sh index 37a61c8..b12fa4c 100755 --- a/fless.sh +++ b/fless.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash # fless - fuzzy find a file and run less on it # Dependencies # - fd (soft) diff --git a/gek.sh b/gek.sh index 8b79d78..2e8a64e 100755 --- a/gek.sh +++ b/gek.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash # Export a key to a given keyfile echo -n "Enter the name of the output file: " diff --git a/getweather.py b/getweather.py index 8d2c0e1..15f7ece 100755 --- a/getweather.py +++ b/getweather.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """Obtain a weather forecast.""" import argparse diff --git a/lsgroups.sh b/lsgroups.sh index 206a487..a19ad98 100755 --- a/lsgroups.sh +++ b/lsgroups.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash # List all groups in the system sort <(awk -F ':' '{print $1}' < /etc/group) diff --git a/lsusers.sh b/lsusers.sh index e4c82e5..6d752bb 100755 --- a/lsusers.sh +++ b/lsusers.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash # List all users on the system sort --unique <(awk -F ':' '{print $1}' < /etc/passwd) diff --git a/open.sh b/open.sh index 21d77bd..10690e6 100755 --- a/open.sh +++ b/open.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash # open - fuzzy find, select, and open a file using xdg-open # # Dependencies: diff --git a/quickdel.py b/quickdel.py index 22efadc..e7ac7c8 100755 --- a/quickdel.py +++ b/quickdel.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """ quickdel - delete any file matching a query