meow
This commit is contained in:
parent
56562e07e5
commit
443f53cf8f
2 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ in
|
|||
programs.fish.enable = true; # for completions
|
||||
home.file.".xonshrc".text = ''
|
||||
$PROMPT_FIELDS['rootuser'] = lambda: "{RED}{user}{RESET}" if $USER == "root" else None
|
||||
$PROMPT_FIELDS['sshhostname'] = lambda: f"{$PROMPT_FIELDS['user']()}@{$PROMPT_FIELDS['hostname']()}" if "SSH_TTY" in ''${...} else $PROMPT_FIELDS['rootuser']()
|
||||
$PROMPT_FIELDS['sshhostname'] = lambda: f"{$PROMPT_FIELDS['user']}@{$PROMPT_FIELDS['hostname']}" if "SSH_TTY" in ''${...} else $PROMPT_FIELDS['rootuser']()
|
||||
$PROMPT = '{gitstatus:{RESET}[{}{RESET}] }{sshhostname:{} }{BOLD_GREEN}{short_cwd}{RED}{last_return_code_if_nonzero: [{BOLD_INTENSE_RED}{}{RED}] }{RESET}{BOLD_BLUE}{RESET}> '
|
||||
$VI_MODE = True
|
||||
|
||||
|
|
|
|||
|
|
@ -189,6 +189,7 @@ in
|
|||
home-manager.users.ragon = { pkgs, lib, inputs, config, ...}: {
|
||||
imports = [
|
||||
../../hm-modules/nvim
|
||||
../../hm-modules/zsh
|
||||
../../hm-modules/tmux
|
||||
../../hm-modules/xonsh
|
||||
../../hm-modules/cli.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue