tv bash: add /* sh */

This commit is contained in:
tv 2017-07-14 01:45:10 +02:00
parent d4609b6188
commit 02252bdaf0

View File

@ -4,7 +4,7 @@ with import <stockholm/lib>;
{ {
programs.bash = { programs.bash = {
interactiveShellInit = '' interactiveShellInit = /* sh */ ''
HISTCONTROL='erasedups:ignorespace' HISTCONTROL='erasedups:ignorespace'
HISTSIZE=65536 HISTSIZE=65536
HISTFILESIZE=$HISTSIZE HISTFILESIZE=$HISTSIZE
@ -14,7 +14,7 @@ with import <stockholm/lib>;
shopt -s no_empty_cmd_completion shopt -s no_empty_cmd_completion
complete -d cd complete -d cd
''; '';
promptInit = '' promptInit = /* sh */ ''
case $UID in case $UID in
0) 0)
PS1='\[\e[1;31m\]\w\[\e[0m\] ' PS1='\[\e[1;31m\]\w\[\e[0m\] '