mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
fix wshhome/bindir
This commit is contained in:
parent
7098c8b3ea
commit
de28e7e00c
@ -48,7 +48,7 @@ const (
|
|||||||
# Source the original zshrc
|
# Source the original zshrc
|
||||||
[ -f ~/.zshrc ] && source ~/.zshrc
|
[ -f ~/.zshrc ] && source ~/.zshrc
|
||||||
|
|
||||||
export PATH=$WAVETERM_HOME/bin:$PATH
|
export PATH=$WAVETERM_WSHBINDIR:$PATH
|
||||||
`
|
`
|
||||||
|
|
||||||
ZshStartup_Zlogin = `
|
ZshStartup_Zlogin = `
|
||||||
@ -76,7 +76,7 @@ elif [ -f ~/.profile ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
set -i
|
set -i
|
||||||
export PATH=$WAVETERM_HOME/bin:$PATH
|
export PATH=$WAVETERM_WSHBINDIR:$PATH
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -131,7 +131,7 @@ func WaveshellLocalEnvVars(termType string) map[string]string {
|
|||||||
rtn["TERM_PROGRAM"] = "waveterm"
|
rtn["TERM_PROGRAM"] = "waveterm"
|
||||||
rtn["WAVETERM"], _ = os.Executable()
|
rtn["WAVETERM"], _ = os.Executable()
|
||||||
rtn["WAVETERM_VERSION"] = wavebase.WaveVersion
|
rtn["WAVETERM_VERSION"] = wavebase.WaveVersion
|
||||||
rtn["WAVETERM_HOME"] = wavebase.GetWaveHomeDir()
|
rtn["WAVETERM_WSHBINDIR"] = filepath.Join(wavebase.GetWaveHomeDir(), WaveHomeBinDir)
|
||||||
return rtn
|
return rtn
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user