aboutsummaryrefslogtreecommitdiffstats
path: root/hm/soispha/pkgs/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soispha/pkgs/scripts')
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/neorg/neorg4
1 files changed, 2 insertions, 2 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/neorg/neorg b/hm/soispha/pkgs/scripts/wrappers/neorg/neorg
index 3fdef9a1..a4326610 100755
--- a/hm/soispha/pkgs/scripts/wrappers/neorg/neorg
+++ b/hm/soispha/pkgs/scripts/wrappers/neorg/neorg
@@ -83,12 +83,12 @@ UTILS_get_neorg_project_dir() {
}
UTILS_project_to_context_name() {
project="$1";
- context="$(sed 's|.|_|' "$(ptmp "$project")")";
+ context="$(sed 's|\.|_|g' "$(ptmp "$project")")";
printf "%s\n" "$context";
}
UTILS_context_to_project_name() {
context="$1";
- project="$(sed 's|_|.|' "$(ptmp "$context")")";
+ project="$(sed 's|_|\.|g' "$(ptmp "$context")")";
printf "%s\n" "$project";
}
# }}}