Skip to content

Commit

Permalink
Supress mise var new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmorganson committed Jan 7, 2025
1 parent 63d45ba commit 15e5e1b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion home/dot_bashrc.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $mise := joinPath .chezmoi.homeDir ".local/bin/mise" }}
{{- $mise := joinPath .chezmoi.homeDir ".local/bin/mise" -}}

{{ output $mise "activate" "bash" }}

Expand Down
2 changes: 1 addition & 1 deletion home/dot_config/fish/config.fish.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $mise := joinPath .chezmoi.homeDir ".local/bin/mise" }}
{{- $mise := joinPath .chezmoi.homeDir ".local/bin/mise" -}}

{{ output $mise "activate" "fish" }}

Expand Down
2 changes: 1 addition & 1 deletion home/dot_config/nushell/scripts/aliases.nu.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{ $mise := joinPath .chezmoi.homeDir ".local/bin/mise" }}
{{- $mise := joinPath .chezmoi.homeDir ".local/bin/mise" -}}

{{ output $mise "exec" "ubi:nushell/nushell[exe=nu]" "--" "nu" "-c" (print $mise " use rust out+err> /dev/null;" $mise " exec cargo:https://github.com/nomyfan/alias-rs@branch:main -- als init zsh | lines | skip 2 | parse 'alias {name}=\"{value}\"' | each {|alias| print $\"export alias ($alias.name) = ($alias.value)\" } | ignore; exit") }}
2 changes: 1 addition & 1 deletion home/dot_config/zsh/dot_zshrc.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $mise := joinPath .chezmoi.homeDir ".local/bin/mise" }}
{{- $mise := joinPath .chezmoi.homeDir ".local/bin/mise" -}}

{{ output $mise "activate" "zsh" }}

Expand Down

0 comments on commit 15e5e1b

Please sign in to comment.