shell-color-scripts: remove condition to not run

not running colorscript inside integrated terminal emulator should not be this script responsability
This commit is contained in:
Guilherme Rugai Freire 2021-08-14 11:41:07 -03:00
parent 2ef16c6f94
commit dfcd962840
No known key found for this signature in database
GPG Key ID: 0F9FE41723A8A297

View File

@ -1,12 +1,6 @@
#!/bin/bash
# Simple CLI for shell-color-scripts
# Check if is integrated terminal emulator
if [ -z "$INTEG_EMU" ];
then : ; else
exit 0
fi
DIR_COLORSCRIPTS="$HOME/.scripts/shell-color-scripts/colorscripts"
list_colorscripts="$(find "${DIR_COLORSCRIPTS}" -printf '%P\n' | tail -n+2 | sort | nl)"
length_colorscripts="$(find "${DIR_COLORSCRIPTS}" -printf '%P\n' | tail -n+2 | wc -l)"