mirror of
https://github.com/ublue-os/bazzite.git
synced 2024-12-26 21:15:54 +00:00
This commit is contained in:
parent
e411c77017
commit
7d6fdeb156
@ -1,4 +1,11 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
# Exit immediately if this is a Midnight Commander (mc) subshell.
|
||||||
|
# Fixes issue #2003.
|
||||||
|
if [[ -n "$MC_SID" ]]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
escape() {
|
escape() {
|
||||||
sed 's/[&/\]/\\&/g' <<< "$1"
|
sed 's/[&/\]/\\&/g' <<< "$1"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user