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
alias ls='ls --color=auto'
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
# 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
# terminal
public_cat() {
pretty_cat "${bin}/${1}"
cat "launchers/${1}"
}
# Copy a file in entrypoints folder