From 56a36622c14fc9be1c3d8ddee89172a132ab95b4 Mon Sep 17 00:00:00 2001 From: Petr Nyc Date: Tue, 18 Nov 2025 08:57:41 +0100 Subject: [PATCH] before upgrade --- .spacemacs | 18 ++++++++++++++++++ .zshrc | 18 ++++++++++++++++++ bin/ul11u4_gate_open.sh | 2 +- 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/.spacemacs b/.spacemacs index 16361e1..be6bcbc 100644 --- a/.spacemacs +++ b/.spacemacs @@ -683,6 +683,7 @@ before packages are loaded." (global-set-key (kbd " s") 'jp/set-dotfiles-environment) (global-set-key (kbd " u") 'jp/unset-dotfiles-environment) + (defun jp/set-scm-git() (interactive) (setq magit-git-executable "/usr/local/bin/scm-git")) @@ -708,6 +709,23 @@ before packages are loaded." ;; test from https://superuser.com/questions/452649/org-mode-to-markdown-converter (require 'ox-md nil t) + + + ;; org mode should not use tabs + ;; work-around for 'tab width in org files must be 8, not 2. please adjust your tab-width settings for org mode' + + (defun jp/org-mode-tab-setup () + ;; Don't use real TAB characters in Org + (setq-local indent-tabs-mode nil) + ;; But keep tab-width at 8 so Org's parser is happy + (setq-local tab-width 8)) + + (add-hook 'org-mode-hook #'pn/org-mode-tab-setup) + + ;; end of tabs work-around + + + (setq org-directory "~/Documents/org") (setq org-default-notes-file "~/Documents/org/inbox.org") diff --git a/.zshrc b/.zshrc index 37a5ea1..c90e16f 100644 --- a/.zshrc +++ b/.zshrc @@ -264,6 +264,24 @@ fi unset __conda_setup # <<< conda initialize <<< +#### +# --- Enable conda autocompletion --- +if command -v conda &>/dev/null; then + # Ensure Conda hook is loaded + eval "$(conda shell.zsh hook)" + + # Add Conda's completion functions to zsh's function path + _conda_zsh_completions_dir="$(conda info --base)/etc/profile.d" + if [ -d "$_conda_zsh_completions_dir" ]; then + fpath+=("$_conda_zsh_completions_dir") + fi +fi + +autoload -U compinit && compinit +#### + + + # export PATH="/opt/homebrew/bin:$PATH" # for cocoapods diff --git a/bin/ul11u4_gate_open.sh b/bin/ul11u4_gate_open.sh index 949fd2c..442dbb8 100755 --- a/bin/ul11u4_gate_open.sh +++ b/bin/ul11u4_gate_open.sh @@ -13,7 +13,7 @@ CURL=/usr/bin/curl source "${BINDIR}/lib/logging.sh" -TARGET="${1-11.4.87.0.1.207.1}" +TARGET="${1-11.4.87.0.1.207.2}" log::info "TARGET:${TARGET}"