mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 04:39:46 +08:00
Fix: x-cmd unavailable/Resolve x-cmd failure
This commit is contained in:
parent
1c2479a563
commit
697b9a9930
@ -31,6 +31,3 @@ m ss # Info about systemsetup
|
|||||||
m app # List application status
|
m app # List application status
|
||||||
m proxy enable 8090 # Set
|
m proxy enable 8090 # Set
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -6,6 +6,7 @@ x(){(
|
|||||||
|
|
||||||
if [ -e "$HOME/.x-cmd.root/X" ]; then
|
if [ -e "$HOME/.x-cmd.root/X" ]; then
|
||||||
. "$HOME/.x-cmd.root/X"
|
. "$HOME/.x-cmd.root/X"
|
||||||
|
___x_cmd "$@"
|
||||||
return $?
|
return $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user