3 ms·
HN uses markdown, stick 4 spaces before each line in your code blocks to get them to indent properly, and drop the <br> function ccb () { FOO=
by IanCal 13y ago
HN uses markdown, stick 4 spaces before each line in your code blocks to get them to indent properly, and drop the <br>
function ccb ()
{
FOO=`pwd`;
echo >> ~/shortcuts.sh;
echo alias $1=\'pushd $FOO\' >> ~/shortcuts.sh;
echo >> ~/shortcuts.sh;
. ~/shortcuts.sh
}
- anjanb 13y agothanks for letting me know -- I've edited my comment.