Add env
This commit is contained in:
11
.local/bin/env
Normal file
11
.local/bin/env
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# add binaries to PATH if they aren't added yet
|
||||||
|
# affix colons on either side of $PATH to simplify matching
|
||||||
|
case ":${PATH}:" in
|
||||||
|
*:"$HOME/.local/share/../bin":*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# Prepending path in case a system-installed binary needs to be overridden
|
||||||
|
export PATH="$HOME/.local/share/../bin:$PATH"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
Reference in New Issue
Block a user