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 # - (Linux/BSD) user login shell
# - (Windows) powershell # - (Windows) powershell
shell: shell:
program: fish program: bash
# args: # args:
# - --login # - --login

View file

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

View file

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

View file

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

View file

@ -449,9 +449,16 @@
enable = true; enable = true;
bashrcExtra = '' bashrcExtra = ''
# export ENV_EFI_CODE_SECURE=/run/libvirt/nix-ovmf/OVMF_CODE.fd ENV_EFI_VARS_SECURE=/run/libvirt/nix-ovmf/OVMF_VARS.fd # 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" ble-face auto_complete="fg=238"
# eval "$(starship init bash)" # 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'
''; '';
}; };