Compare commits

...
18 Commits
Author SHA1 Message Date
FlintyLemmingandCursor 47603337b7 更新 ssh/app-gohrm 配置,接入 GoHRM Gitea。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 10:28:37 +09:00
FlintyLemming a5a7f8b863 更新 ssh/inc-fedora.pub 2026-08-06 08:21:42 +00:00
FlintyLemming b3364ddd24 更新 ssh/config 2026-08-06 08:21:03 +00:00
FlintyLemmingandClaude 50688c76fd 修复空目录下 ls 函数报数组下标越界
macOS 自带的 BSD seq 在 first > last 时默认步长为 -1,所以空目录下
`seq (count $lines)` 即 `seq 0` 会输出 "1 0" 而非空,导致循环取到
$lines[0] 报 "array indices start at 1, not 0"(GNU seq 无此问题)。
循环前加空数组短路返回。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-31 04:56:41 -07:00
FlintyLemming 5ec2e7a9fb 更新 ssh/inc-network.pub 2026-07-31 11:43:29 +00:00
FlintyLemming 19e6ec4944 更新 ssh/config 2026-07-31 11:43:14 +00:00
FlintyLemming 84b118a4d5 更新 ssh/config 2026-07-30 02:52:29 +00:00
FlintyLemming 5be8e686ab 更新 ssh/config 2026-07-30 02:41:21 +00:00
FlintyLemming d05f1b5d81 更新 ssh/config 2026-07-28 07:13:37 +00:00
FlintyLemming 93e8f6e8d9 更新 ssh/config 2026-07-28 07:04:18 +00:00
FlintyLemming c536143e52 更新 ssh/config 2026-07-20 03:18:40 +00:00
FlintyLemming 7fbe773607 更新 ssh/config 2026-07-16 03:40:05 +00:00
FlintyLemming 3f090bea5d 更新 ssh/inc-aosc.pub 2026-07-16 03:39:38 +00:00
FlintyLemming 48b8de1fdc 更新 ssh/config 2026-07-14 06:00:57 +00:00
FlintyLemming 67f233e5ae 更新 ssh/inc-mac-mini-m2.pub 2026-07-14 05:59:42 +00:00
FlintyLemming b38c50fdc6 更新 ssh/config 2026-07-14 05:59:33 +00:00
FlintyLemming 3d7a08cf2e Merge branch 'main' of https://git.mitsea.com/FlintyLemming/dotfiles 2026-07-13 13:13:30 +08:00
FlintyLemming 019bc9e295 ssh: add GitHub SSH key and host config 2026-07-13 13:13:12 +08:00
6 changed files with 30 additions and 6 deletions
+6
View File
@@ -111,6 +111,12 @@ function ls --description 'alias ls to eza with directory `.tldr` descriptions'
return
end
# 空目录直接返回:BSD seqmacOS)遇到 `seq 0` 会倒数输出 "1 0"
# 导致下面用 $lines[0] 取值时报 "array indices start at 1"
if test (count $lines) -eq 0
return
end
# 双路循环渲染
for i in (seq (count $lines))
set -l line $lines[$i]
+1
View File
@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN9f2p8HTbjdo4GJHusMa8jtjSIcOrTmL6nxpvnUZVcq
+1
View File
@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBeSOgWQ8kdUcUKnmHjbvga+QhR8XEKxFQeYazORinnN
+22 -6
View File
@@ -8,6 +8,22 @@ Host git.mitsea.com
User git
IdentityFile ~/.flinty/ssh/app-gitea-selfhost.pub
Host 172.207.73.17
HostName 172.207.73.17
User git
IdentityFile ~/.flinty/ssh/app-gohrm.pub
# 公司 GitLab 不支持 ED25519
# Host git.liandisys.com.cn
# HostName git.liandisys.com.cn
# User git
# IdentityFile ~/.flinty/ssh/app-gitlab-ce.pub
Host github.com
HostName github.com
User git
IdentityFile ~/.flinty/ssh/app-github.pub
Host inc-r750xa
HostName 10.0.24.20
User ubuntu
@@ -25,14 +41,14 @@ Host inc-backup-server
User aiteam
Host inc-dev
HostName 172.16.48.236
HostName 10.0.24.41
User flintylemming
Host inc-mac-mini-m4
HostName 172.16.48.68
Host inc-mac-mini-m2
HostName 172.16.48.241
User flintylemming
Host inc-ai-max-395
Host inc-fedora
HostName 172.16.48.2
User flintylemming
@@ -162,7 +178,7 @@ Host sdwan-us-la
IdentityFile ~/.flinty/ssh/us-la.pub
Host frp-us-la
HostName frp-man.com
HostName frp-ask.com
User lobsterdoh
Port 48699
IdentityFile ~/.flinty/ssh/us-la.pub
@@ -187,7 +203,7 @@ Host ca-linux
Port 8840
Host frp-us-la-via-ucloud
HostName frp-man.com
HostName frp-ask.com
User lobsterdoh
Port 48699
IdentityFile ~/.flinty/ssh/us-la.pub