Convert rust from stow to chezmoi
parent
a670c6271c
commit
bae893a736
@ -0,0 +1,7 @@
|
||||
{{ if lookPath "cargo" -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -f "${HOME}/.cargo/env" ]; then
|
||||
. "${HOME}/.cargo/env"
|
||||
fi
|
||||
{{- end }}
|
@ -0,0 +1,3 @@
|
||||
{{ if lookPath "rustc" -}}
|
||||
let g:rustfmt_autosave = 1
|
||||
{{- end }}
|
@ -1 +1,3 @@
|
||||
{{ if lookPath "rustc" -}}
|
||||
Plug 'rust-lang/rust.vim', { 'for': 'rust' }
|
||||
{{- end }}
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -f "${HOME}/.cargo/env" ]; then
|
||||
. "${HOME}/.cargo/env" || exit 1
|
||||
fi
|
@ -1 +0,0 @@
|
||||
let g:rustfmt_autosave = 1
|
Loading…
Reference in New Issue