Fix: x-cmd unavailable/Resolve x-cmd failure

This commit is contained in:
curry798 2026-01-19 15:38:29 +08:00
commit 697b9a9930
No known key found for this signature in database
GPG key ID: 9D3798B130D5CB14
2 changed files with 1 additions and 3 deletions

View file

@ -31,6 +31,3 @@ m ss # Info about systemsetup
m app # List application status
m proxy enable 8090 # Set
```

View file

@ -6,6 +6,7 @@ x(){(
if [ -e "$HOME/.x-cmd.root/X" ]; then
. "$HOME/.x-cmd.root/X"
___x_cmd "$@"
return $?
fi