mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
11 lines
299 B
Nix
11 lines
299 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.bash = {
|
|
promptInit = ''PS1="$(${pkgs.ncurses}/bin/tput bold)\w \$([[ \$? == 0 ]] && echo \"\[\033[1;32m\]\" || echo \"\[\033[1;31m\]\")\$$(${pkgs.ncurses}/bin/tput sgr0) "'';
|
|
interactiveShellInit = ''
|
|
set -o vi
|
|
'';
|
|
completion.enable = true;
|
|
};
|
|
}
|