mirror of https://github.com/mamba-org/mamba.git
add tcsh testing
This commit is contained in:
parent
eae95e3797
commit
0434a27f4e
|
@ -133,7 +133,7 @@ jobs:
|
|||
if: matrix.os == 'ubuntu-latest'
|
||||
shell: bash -l -eo pipefail {0}
|
||||
run: |
|
||||
sudo apt-get install zsh xonsh fish -y
|
||||
sudo apt-get install zsh xonsh fish tcsh -y
|
||||
- name: install xonsh and fish in mac
|
||||
if: matrix.os == 'macos-latest'
|
||||
shell: bash -l -eo pipefail {0}
|
||||
|
|
|
@ -144,11 +144,6 @@ Register-ArgumentCompleter -Native -CommandName micromamba -ScriptBlock $scriptb
|
|||
.SYNOPSIS
|
||||
Modifies the current prompt to show the currently activated conda
|
||||
environment, if any.
|
||||
.EXAMPLE
|
||||
Add-CondaEnvironmentToPrompt
|
||||
|
||||
Causes the current session's prompt to display the currently activated
|
||||
conda environment.
|
||||
#>
|
||||
if ($MambaModuleArgs.ChangePs1) {
|
||||
# We use the same procedure to nest prompts as we did for nested tab completion.
|
||||
|
|
|
@ -1 +1 @@
|
|||
Import-Module "$Env:MAMBA_ROOT_PREFIX\condabin\Mamba.psm1"
|
||||
Import-Module "$Env:MAMBA_ROOT_PREFIX\condabin\Mamba.psm1" -ArgumentList $MambaModuleArgs
|
||||
|
|
|
@ -284,7 +284,7 @@ valid_interpreters = get_valid_interpreters()
|
|||
|
||||
|
||||
def shvar(v, interpreter):
|
||||
if interpreter in ["bash", "zsh", "xonsh", "fish", "tcsh"]:
|
||||
if interpreter in ["bash", "zsh", "xonsh", "fish", "tcsh", "dash"]:
|
||||
return f"${v}"
|
||||
elif interpreter == "powershell":
|
||||
return f"$Env:{v}"
|
||||
|
|
Loading…
Reference in New Issue