Skip to content

Commit e3a09d7

Browse files
committed
Bashmarks: Remove path_bookmarks layer, add zsh external, simplify template
1 parent 822d66d commit e3a09d7

File tree

6 files changed

+6
-105
lines changed

6 files changed

+6
-105
lines changed

home/.chezmoiexternals/bashmarks.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22
type = "file"
33
url = "https://raw.githubusercontent.com/jdevera/bashmarks/refs/heads/master/bashmarks.sh"
44
refreshPeriod = "730h" # 1 month is more than enough
5+
6+
[".config/zsh/zsh.d/200_tool_bashmarks.zsh"]
7+
type = "file"
8+
url = "https://raw.githubusercontent.com/jdevera/bashmarks/refs/heads/master/bashmarks.sh"
9+
refreshPeriod = "730h" # 1 month is more than enough

home/.chezmoiscripts/run_onchange_after_zoxide-hydrate.sh.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/env bash
22

3-
# path_bookmarks hash: {{ include "dot_config/path_bookmarks/dotfiles.bookmarks.tmpl" | sha256sum }}
4-
53
# {{ template "dotfiles_bashlib.sh" . }}
64

75
# Help shellcheck identify the above include
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
# Bashmarks managed by dotfiles
22
# Generated from .chezmoidata/path_bookmarks.yaml
3+
# Relative paths are resolved relative to $HOME by bashmarks
34

45
{{ range .path_bookmarks -}}
56
{{ if or (not (hasKey . "os")) (eq .os $.chezmoi.os) -}}
6-
{{ if hasPrefix "/" .path -}}
77
{{ .path }}|{{ .name }}
8-
{{ else -}}
9-
$HOME/{{ .path }}|{{ .name }}
10-
{{ end -}}
118
{{ end -}}
129
{{ end -}}

home/dot_config/path_bookmarks/dotfiles.bookmarks.tmpl

Lines changed: 0 additions & 13 deletions
This file was deleted.

home/dot_config/zsh/exact_private_zsh.d/private_196_tool_path_bookmarks.zsh

Lines changed: 0 additions & 47 deletions
This file was deleted.

home/exact_private_dot_bash.d/private_196_tool_path_bookmarks.sh

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)