Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
feat: add default environment KCLVM_CLANG=/usr/bin/clang when kusionu…
Browse files Browse the repository at this point in the history
…p init
  • Loading branch information
elliotxx committed Jun 16, 2022
1 parent 78b38e6 commit 27ea88c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/commands/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import (
const (
// KusionupEnvFileContent is the content of the kusionup environment file
KusionupEnvFileContent = `export PATH=$HOME/.kusionup/bin:$HOME/.kusionup/current/bin:$HOME/.kusionup/current/kclvm/bin:$PATH
export KUSION_PATH=$HOME/.kusionup/current`
export KUSION_PATH=$HOME/.kusionup/current
export KCLVM_CLANG=/usr/bin/clang`
// ProfileFileSourceContent is the content of the kusionup profile file
ProfileFileSourceContent = `source "$HOME/.kusionup/env"`

Expand Down

0 comments on commit 27ea88c

Please sign in to comment.