Do $PATH lookup for bash
This commit is contained in:
parent
50ba3d4b8f
commit
7c3bd5060a
2
clipdel
2
clipdel
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
: "${CM_DIR="${XDG_RUNTIME_DIR-"${TMPDIR-/tmp}"}"}"
|
: "${CM_DIR="${XDG_RUNTIME_DIR-"${TMPDIR-/tmp}"}"}"
|
||||||
CM_REAL_DELETE=0
|
CM_REAL_DELETE=0
|
||||||
|
|
2
clipmenu
2
clipmenu
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
: "${CM_LAUNCHER=dmenu}"
|
: "${CM_LAUNCHER=dmenu}"
|
||||||
: "${CM_DIR="${XDG_RUNTIME_DIR-"${TMPDIR-/tmp}"}"}"
|
: "${CM_DIR="${XDG_RUNTIME_DIR-"${TMPDIR-/tmp}"}"}"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
: "${CM_ONESHOT=0}"
|
: "${CM_ONESHOT=0}"
|
||||||
: "${CM_OWN_CLIPBOARD=1}"
|
: "${CM_OWN_CLIPBOARD=1}"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
set -e
|
set -e
|
||||||
|
@ -18,7 +18,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat - "$location/../clipmenu" > /tmp/clipmenu << 'EOF'
|
cat - "$location/../clipmenu" > /tmp/clipmenu << 'EOF'
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
major_version=5
|
major_version=5
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ fi
|
||||||
msg 'Setting up edited clipmenu'
|
msg 'Setting up edited clipmenu'
|
||||||
|
|
||||||
cat - "$location/../clipmenu" > /tmp/clipmenu << EOF
|
cat - "$location/../clipmenu" > /tmp/clipmenu << EOF
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
exec 3>&2 2> >(tee "$log" |
|
exec 3>&2 2> >(tee "$log" |
|
||||||
sed -u 's/^.*$/now/' |
|
sed -u 's/^.*$/now/' |
|
||||||
|
|
Loading…
Reference in a new issue