qemush : suppression pretty_cat

This commit is contained in:
Ahurac 2024-01-22 23:42:50 +01:00
parent ba3547d770
commit 9a196de379

View file

@ -23,11 +23,6 @@ export QEMUSH_NAME
# Aliases # Aliases
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias exec='exec ' alias exec='exec '
if [ -t 1 ]; then
alias pretty_cat='source-highlight --failsafe -f esc --style-file=esc.style -i'
else
alias pretty_cat=cat
fi
shopt -s expand_aliases shopt -s expand_aliases
# Set a restrictive umask to make sure qemu user files are private # Set a restrictive umask to make sure qemu user files are private
@ -141,7 +136,7 @@ public_shell() {
# Output the content of an entrypoint, with coloration if on a virtual # Output the content of an entrypoint, with coloration if on a virtual
# terminal # terminal
public_cat() { public_cat() {
pretty_cat "${bin}/${1}" cat "launchers/${1}"
} }
# Copy a file in entrypoints folder # Copy a file in entrypoints folder