Use env to account for PATH interpreter precedence
This commit is contained in:
parent
144190b1c9
commit
6b595f44a3
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Copy a file from ~/Templates to a given name
|
||||
#
|
||||
# Dependencies:
|
||||
|
2
ddusb.py
2
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
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
"""Check the temperature of a drive.
|
||||
Functions:
|
||||
verify_device_node(query)
|
||||
|
2
fedit.py
2
fedit.py
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Fuzzy-find a file and edit it.
|
||||
|
||||
|
2
fless.sh
2
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)
|
||||
|
2
gek.sh
2
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: "
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
"""Obtain a weather forecast."""
|
||||
|
||||
import argparse
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# List all groups in the system
|
||||
|
||||
sort <(awk -F ':' '{print $1}' < /etc/group)
|
||||
|
@ -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)
|
||||
|
2
open.sh
2
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:
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
quickdel - delete any file matching a query
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user