diff options
| author | ruki <[email protected]> | 2023-07-28 00:19:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-07-28 00:19:09 +0800 |
| commit | a1a1f4e47f35c63b3f4098222820c1140748eb48 (patch) | |
| tree | ca3e817f4dff9e29196aa0b0e33220e95bb76562 | |
| parent | e2d62d264fd60248eee0134622eb9f2acf7575f7 (diff) | |
improve os.shell
| -rw-r--r-- | xmake/scripts/profile-unix.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/scripts/profile-unix.sh b/xmake/scripts/profile-unix.sh index 4741dfdce..1695b2331 100644 --- a/xmake/scripts/profile-unix.sh +++ b/xmake/scripts/profile-unix.sh @@ -20,8 +20,10 @@ # register completions if [[ -n "$ZSH_VERSION" ]]; then + export XMAKE_SHELL=zsh . "$XMAKE_PROGRAM_DIR/scripts/completions/register-completions.zsh" elif [[ -n "$BASH_VERSION" ]]; then + export XMAKE_SHELL=bash . "$XMAKE_PROGRAM_DIR/scripts/completions/register-completions.bash" fi |
