XHDENAFVTJAKSRSGSOPIXQADFA7RCUDGL2JTGAZMTN744ZZFKHZAC
AKFUJPU5PTD7NUZSHN5BC3IHG2SSYJH6HMC2OWS7JKZIRBTGCNBAC
SEGOB4ZN4TQPWCEPL6IKXRADVRX5TPHAF47M4ISVGDLPXYFUK73QC
5F7FQOTRMHTFZM2DLCYR2KFCT2ZX55Y5SWPAAUZ4SVFBTTB77ARQC
OY5IM37CDTFYUCGM2C6ZQA5GOU2D65KZQUSDY46OLS4SEQMJ4JNAC
2IQUTMEME3M4QCRVB6W2FDAEADTRFJZVWDF6QVUI2FTYA3D3IK2QC
KNYW5SMXUSMBIFC3OAGNTZZP7C7NDUWCUMEJK27URYMLHJIBBGHQC
CLDCVRRBFLMWT3QKF6G6SSAO5LOOPT2J3KSOF4HJ6TL5663PYWFQC
VJWQP4DXJRA4UJRYBWIRFT5T76ZO6KE2IQCLAO5EAXWOZH2LRAVQC
S6AGIE6QJGWPCDD2QLTNFG7C6YALEJWXNYL32XQ2FB6TFT5FVR5AC
AYO4A36OXBAUFHX2ZBG2IVRAWIGLW4N76JZADPH2MVIJZA6Y6EOQC
7H6W67ZT22SJ2DP47V3TTH5VYSIRP2FKXQL4GKU5MUHQ3CKEFSQQC
LQIUZJSRW5BT3CJESIDGOOUAE6WUGVAYXGCSE5EJ2CK23UDOG5RQC
IUR4IPDMX7Z57F2FDG7U6S5R4CVMGEDYEZ5XEB4626V2BI5BWLWAC
[wezterm]
owner = "wez"
repo = "wezterm"
exe_name = "wezterm"
asset_name.linux = "Ubuntu20.04.AppImage"
[ui]
editor = "emacsclient -c"
let-env STARSHIP_SHELL = "nu"
let-env STARSHIP_SESSION_KEY = (random chars -l 16)
let-env PROMPT_MULTILINE_INDICATOR = (^starship prompt --continuation)
export-env { load-env {
STARSHIP_SHELL: "nu"
STARSHIP_SESSION_KEY: (random chars -l 16)
PROMPT_MULTILINE_INDICATOR: (
^starship prompt --continuation
)
# Does not play well with default character module.
# TODO: Also Use starship vi mode indicators?
PROMPT_INDICATOR: ""
PROMPT_COMMAND: {||
# jobs are not supported
(
^starship prompt
--cmd-duration $env.CMD_DURATION_MS
$"--status=($env.LAST_EXIT_CODE)"
--terminal-width (term size).columns
)
}
config: ($env.config? | default {} | merge {
render_right_prompt_on_last_line: true
})
# Does not play well with default character module.
# TODO: Also Use starship vi mode indicators?
let-env PROMPT_INDICATOR = ""
PROMPT_COMMAND_RIGHT: {||
(
^starship prompt
--right
--cmd-duration $env.CMD_DURATION_MS
$"--status=($env.LAST_EXIT_CODE)"
--terminal-width (term size).columns
)
}
}}
let-env PROMPT_COMMAND = {
# jobs are not supported
let width = (term size | get columns | into string)
^starship prompt $"--cmd-duration=($env.CMD_DURATION_MS)" $"--status=($env.LAST_EXIT_CODE)" $"--terminal-width=($width)"
}