WSL fixes

This commit is contained in:
2024-10-27 01:33:39 +02:00
parent f3ee35f577
commit e42dd52164
39 changed files with 390367 additions and 390285 deletions

View File

@ -6,6 +6,15 @@ println() {
printfe "%s\n" $color "$1"
}
is_wsl() {
unameres=$(uname -a | grep -i "microsoft" | wc -l)
if [ -n "$unameres" ]; then
return 0
else
return 1
fi
}
logo() {
tput setaf 2
cat $HOME/dotfiles/bin/resources/logo.txt