Add shx alias to launch helix with sudo and current runtime

main
trivernis 10 months ago
parent 0fc76dcf1e
commit a8b69fec4c
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -35,3 +35,7 @@ nbsp = "all"
[keys.normal] [keys.normal]
C-j = "half_page_down" C-j = "half_page_down"
C-k = "half_page_up" C-k = "half_page_up"
[keys.select]
C-j = "half_page_down"
C-k = "half_page_up"

@ -9,3 +9,6 @@ alias t = todo.sh
alias fuck = with-env {TF_ALIAS: "fuck", PYTHONIOENCODING: "utf-8"} { alias fuck = with-env {TF_ALIAS: "fuck", PYTHONIOENCODING: "utf-8"} {
thefuck (history | last 1 | get command.0) thefuck (history | last 1 | get command.0)
}{{/if-installed}} }{{/if-installed}}
{{#if flags.unix}}
alias `shx` = sudo -E helix -c '{{dirs.config}}/helix/config.toml'
{{/if}}

@ -71,3 +71,4 @@ $env.GIT_PAGER = "most"
{{# if flags.unix}} {{# if flags.unix}}
$env.LC_ALL = en_GB.UTF-8 $env.LC_ALL = en_GB.UTF-8
{{/if}} {{/if}}
$env.HELIX_RUNTIME = {{dirs.config}}/helix/runtime

Loading…
Cancel
Save