Commit graph

29 commits

Author SHA1 Message Date
claytharrison
f7933808a6 Cache micromamba--buffer-env, check file-remote-p 2025-01-06 19:30:18 +01:00
claytharrison
335804a494 Use add-hook/remove-hook instead of setq/delete 2025-01-06 19:28:43 +01:00
claytharrison
10355eec33 Optimize micromamba--get-name-from-env-yml
1. Use setf and alist-get instead of add-to-list
2. Store only env name for buffer in cache
3. Wrap string-match and match-string in save-match-data
4. Pull the string-matching into its own function
2025-01-06 19:26:10 +01:00
claytharrison
0fe1ed0c63 Add caching for yml contents. 2024-12-21 23:00:36 +01:00
claytharrison
497497537f Only activate if same env not active 2024-12-21 22:23:25 +01:00
claytharrison
359eb819c8 Fix deletion frm window-selection-change-functions 2024-12-21 22:22:43 +01:00
claytharrison
9619d1be5b Formatting 2024-12-21 21:55:00 +01:00
claytharrison
ffbe41a3a4 Remove obsolete code 2024-12-21 21:54:29 +01:00
claytharrison
148e36e326 Remove dependency on f.el 2024-12-21 21:54:02 +01:00
claytharrison
452bd0fe1e Use micromamba-activate on inferred env (duh) 2024-12-21 21:30:45 +01:00
claytharrison
12c9bb366e Fix window-selection-change-functions add 2024-12-21 21:29:35 +01:00
claytharrison
9d2e9fce93 Use fallback environment instead of base 2024-12-21 21:28:58 +01:00
claytharrison
4ffe110f79 advice-add -> window-selection-change-functions 2024-12-21 20:11:12 +01:00
claytharrison
4ae2caa892 if w/o alternate -> when 2024-12-21 19:03:32 +01:00
claytharrison
443736121a Replace (if ... nil) with (when ...) 2024-12-21 16:06:57 +01:00
Clay
56897f586e
Merge branch 'SqrtMinusOne:master' into autoactivate 2024-12-20 15:14:41 +01:00
cd3ce4b714 micromamba: add Published-At 2023-12-26 02:20:44 +03:00
Clay Harrison
39d2763cb1 naive implementation of autoactivate mode from conda.el 2023-09-22 14:28:00 +02:00
ce97237986 fix: move '-s bash' to the end (#1) 2023-07-08 12:26:49 +03:00
5a152840a7 fix: error in user-error 2023-07-05 18:43:18 +03:00
656f257ff6 docs: update README 2023-07-04 14:08:56 +03:00
6410ad3a92
docs: add MEPLA badge 2023-07-03 10:31:19 +03:00
11b1f9653e docs: README & license 2023-06-20 11:45:00 +03:00
e35f7bb7e9 fix: package-lint 2023-06-18 16:20:43 +03:00
8d18b0e20a ci: fix recipe 2023-06-18 16:16:34 +03:00
b8f8ee9ab4 ci: add melpazoid 2023-06-18 16:15:51 +03:00
691727e27d feat: allow call micromamba-activate with env name 2023-06-18 14:52:13 +03:00
01e5cd6b64 fix: provide micromamba 2023-06-18 14:43:34 +03:00
1997a345e2 Initial commit 2023-06-18 14:35:47 +03:00