Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Shellscripting question

Name: Anonymous 2012-02-07 10:24

How could I make a shellscript which will echo "Welcome home, oniichan!" whenever I cd to my home directory?

Name: Anonymous 2012-02-07 16:28

>>8
alias cd ~ = 'cd ~ && echo "what"'
Am I just dumb, or isn't it a bad idea to alias something to itself? Wouldn't the output of that aliased command be ``cd ~ what cd ~ what cd ~ what cd ~ what cd ~ what''... etc

Reminds me of something similar:
(save as what.bat)
@echo off
:start
echo what
what.bat
goto start

also I am high as fuck

smoke weed everyday, it makes thinking more difficult

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List