adding some tweaks to use blesh

This commit is contained in:
Chris Cochrun 2023-01-27 06:09:52 -06:00
parent b7820724ee
commit fe55bb5af3
5 changed files with 17 additions and 4 deletions

View file

@ -357,7 +357,7 @@ colors:
# - (Linux/BSD) user login shell
# - (Windows) powershell
shell:
program: fish
program: bash
# args:
# - --login

View file

@ -125,5 +125,6 @@ with lib;
nix-index
sqlite
fennel
blesh
];
}

View file

@ -33,5 +33,10 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
fi
else
exec emacsclient -c &
if [ $(pgrep -c emacs) -gt 0 ]; then
alacritty -e emacs --daemon
exec emacsclient -c &
else
exec emacsclient -c &
fi
fi

View file

@ -94,7 +94,7 @@
btop
htop
unzip
#blesh
blesh
];
virtualisation.docker.enable = true;

View file

@ -449,9 +449,16 @@
enable = true;
bashrcExtra = ''
# export ENV_EFI_CODE_SECURE=/run/libvirt/nix-ovmf/OVMF_CODE.fd ENV_EFI_VARS_SECURE=/run/libvirt/nix-ovmf/OVMF_VARS.fd
source $(blesh-share)
source $(blesh-share)/ble.sh
ble-face auto_complete="fg=238"
# eval "$(starship init bash)"
export LESS_TERMCAP_mb=$'\e[1;32m'
export LESS_TERMCAP_md=$'\e[1;32m'
export LESS_TERMCAP_me=$'\e[0m'
export LESS_TERMCAP_se=$'\e[0m'
export LESS_TERMCAP_so=$'\e[01;33m'
export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[1;4;31m'
'';
};