move bash config to configuration.ix and add devenv hook
This commit is contained in:
parent
b156f81901
commit
1fdebac787
2 changed files with 5 additions and 7 deletions
|
|
@ -64,11 +64,16 @@
|
|||
];
|
||||
|
||||
programs.bash = {
|
||||
completion.enable = true;
|
||||
shellAliases = {
|
||||
"rebuild" = "doas nixos-rebuild switch --flake $HOME/nixos/ --impure";
|
||||
};
|
||||
promptInit = ''
|
||||
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
|
||||
'';
|
||||
interactiveShellInit = ''
|
||||
complete -F _command doas
|
||||
eval "$(devenv hook bash)"
|
||||
'';
|
||||
};
|
||||
# Enable CUPS to print documents.
|
||||
|
|
|
|||
Loading…
Reference in a new issue