mirror of
https://github.com/0intro/wmii
synced 2025-01-10 04:12:06 +03:00
33acee2a70
this avoids "empty argument list" error messages when leaving the menu by pressing escape
19 lines
203 B
Bash
19 lines
203 B
Bash
#!9PREFIX/bin/rc
|
|
# clean the environment and execute the given command
|
|
|
|
if(~ $#* 0)
|
|
exit
|
|
|
|
PATH=$OLD_PATH
|
|
OLD_PATH=()
|
|
wmiircpid=()
|
|
apid=()
|
|
home=()
|
|
ifs=()
|
|
pid=()
|
|
prompt=()
|
|
rcname=()
|
|
status=()
|
|
|
|
exec $*
|