mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Fix: x-cmd unavailable/Resolve x-cmd failure
This commit is contained in:
parent
1c2479a563
commit
697b9a9930
2 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue