Fixed a bug in the run dialog.
This commit is contained in:
parent
71cd45f781
commit
390fc4c114
@ -21,7 +21,7 @@ fi
|
|||||||
if [[ -z "$txt" ]]; then
|
if [[ -z "$txt" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [[ "$txt" =~ ^ftp://|http://|https://|www.* ]]; then
|
if [[ "$txt" =~ ^ftp://|^http://|^https://|^www.* ]]; then
|
||||||
xdg-open $txt
|
xdg-open $txt
|
||||||
write_history
|
write_history
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user