Fix context script and add silo alias

main
trivernis 9 months ago
parent 8e6671f016
commit 5f50584ac3
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -12,3 +12,7 @@ alias fuck = with-env {TF_ALIAS: "fuck", PYTHONIOENCODING: "utf-8"} {
{{#if flags.unix}}
alias `shx` = sudo -E helix -c '{{dirs.config}}/helix/config.toml'
{{/if}}
export def `silo cd` [] {
silo repo | cd $in
}

@ -74,5 +74,7 @@ $env.LC_ALL = en_GB.UTF-8
$env.HELIX_RUNTIME = {{dirs.config}}/helix/runtime
{{#if-installed nix}}
$env.NIX_PATH = $"{{dirs.home}}/.nix-defexpr/channels:($env.NIX_PATH)"
if $env.NIX_PATH? != null {
$env.NIX_PATH = $"{{dirs.home}}/.nix-defexpr/channels:($env.NIX_PATH)"
}
{{/if-installed}}

@ -32,8 +32,8 @@ def apply-defaults [] {
{
system-id: ($cfg | get-or-prompt system-id)
environment: ($cfg | get-or-prompt environment)
font-size: 12
icons: false
font-size: ($cfg.font-size? | default 12)
icons: ($cfg.icons? | default false)
}
}

Loading…
Cancel
Save