- Commands lose their .sh extension (create_personal_dir, gopass_bernina_setup, gopass_bernina_service_setup, kerberos_ticket_renew, migrate_to_network_drive, pixi_local_sync, pixi_rebuild_local, sync_personal_config); .sh now only marks files that are sourced. kerberos_ticket_renew.sh and pixi_local_sync.sh stay as links, since they are started at login. - Sourced files gain .sh (bpy-env, anaconda_env, anaconda_bernina_env, mm_bernina); the old names stay as links. - All references in scripts, the .desktop file and the docs updated; cheatsheet.md regenerated via list_bin_commands. - New pixi_pgroup_install: installs the shared bernina pixi env into a pgroup work folder (group-shared, with its own package cache) and makes it visible in JupyterHub as bernina-<exp>-<env>. - Fix '#/bin/bash' first lines (missing '!') in 11 scripts. - Stop tracking clutter (.nfs placeholders, __pycache__, vim swap file, .bak/_bak/~ copies, delme_*, empty 'me'); add .gitignore.
22 lines
472 B
Bash
Executable File
22 lines
472 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#if [ $# != 1 ]; then
|
|
# echo "Usage: $0 [alvra|bernina]"
|
|
# exit 1
|
|
#fi
|
|
|
|
default="sfb312_rec"
|
|
dest=${1:-$default}
|
|
|
|
echo Loading Bernina Micromamba/conda Python # <<< conda initialize <<<
|
|
source /sf/bernina/bin/mm_bernina.sh
|
|
|
|
|
|
micromamba config append envs_dirs /sf/bernina/applications/mm/envs
|
|
#conda config --set env_prompt '({name})'
|
|
|
|
echo Activating Micromamba/conda environment ${1:-$dest}
|
|
micromamba activate ${1:-$dest}
|
|
#source activate $dest
|
|
|