# Remember what we like to be called in our prompt. We can freeze the # host name here, since a new shell will be spawned any time they change. # The variables "hostname" and "ident" are not special to the C shell. set hostname = "`uname -n`" set ident = "$hostname" # say where... # Here is a style of prompt that people like. This one adds # the current working directory path to the prompt, but that means # we must reset the prompt each time we change directories. alias setprompt 'set prompt="${ident}<$cwd> "' # If we're using setprompt, then we have to arrange to call it # every time the directory stack changes (and once at startup). alias cd 'cd \!* ; setprompt' setprompt # Miscellaneous aliases that most people seem to like: alias h history alias lo logout alias m more alias ls 'ls -F' alias rm 'rm -i' alias mv 'mv -i' alias cp 'cp -i' alias grep 'grep -i' alias cd1 'cd Lab1; ls' alias cd2 'cd Lab2; ls' alias cd3 'cd Lab3; ls' alias cd4 'cd Lab4; ls' alias cd5 'cd Lab5; ls'