###################################################################### # # aliases.mine File # # Sets user aliases with tcsh on Mac OS X. # Place in /Users//Library/init/tcsh # # Author: Gary Embler # Date: 04/12/02 # Shell tested: tcsh 6.10.00 # OS tested: Mac OS X 10.1.3 # ###################################################################### # # Copyright (c) 2002 Gary Embler . # All rights reserved. # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that # the above copyright notice, this permission notice, and the # following disclaimer appear on all copies. # # This software is provided by Gary Embler on an as-is basis and all # warranties expressed or implied are disclaimed. In no event shall # the author be held liable for any direct or indirect damages # however caused arising from the use of this software. # ###################################################################### # # General Aliases # alias cp '/bin/cp -i' alias mv '/bin/mv -i' alias rm '/bin/rm -i' # # Interactive Shell Aliases # alias f /usr/bin/finger alias help /usr/bin/man alias key /usr/bin/apropos alias clr /usr/bin/clear alias m /usr/bin/more alias h 'history \!:* | /usr/bin/head -64 | /usr/bin/more' alias t /usr/bin/tail alias tf '/usr/bin/tail -f' alias d dirs alias md '/bin/mkdir -p' alias rd /bin/rmdir alias la '/bin/ls -FLal | /usr/bin/more' alias ls '/bin/ls -FL | /usr/bin/more' alias lf '/bin/ls -F | /usr/bin/more' alias ll '/bin/ls -FLals | /usr/bin/more' alias lr '/bin/ls -FR | /usr/bin/more' alias lt '/bin/ls -Falt | /usr/bin/more' alias opn '/bin/chmod go+r' alias shut '/bin/chmod go-r' alias close '/bin/chmod g-w,o-rwx' alias j 'jobs -l | /usr/bin/more' alias p '/bin/ps -cj | /usr/bin/more' alias pa '/bin/ps -acux | /usr/bin/more' alias pl '/bin/ps -cl | /usr/bin/more' alias s source alias x exit alias bye logout alias quit logout alias lo logout # # Application Invocation Aliases # alias e '/Applications/TextEdit.app/Contents/MacOS/TextEdit \!:* &' alias se '/usr/bin/sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit \!:*'