diff options
| -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 |
