Quellcode durchsuchen

shrc: use cowsay for startup message

pull/1/head
10sr vor 10 Jahren
Ursprung
Commit
4466c94088
1 geänderte Dateien mit 14 neuen und 5 gelöschten Zeilen
  1. +14
    -5
      shrc

+ 14
- 5
shrc Datei anzeigen

@@ -254,12 +254,21 @@ fi
######################
# Print welcome messages

type fortune >/dev/null 2>&1 && {
fortune
echo
fortune -o
echo
command -v fortune >/dev/nul && {
if command -v cowsay >/dev/null
then
fortune | cowsay
echo
fortune -o | cowsay
echo
else
fortune
echo
fortune -o
echo
fi
}

uname -a
$iswindows && alias tty="echo cmd.exe"
echo TERM $TERM with $(tput colors) colors using $(tty)


Laden…
Abbrechen
Speichern