Skip to main content

Cultured Perl: A programmer's Linux-oriented setup

Optimizing your machine for your needs

Return to article


Listing 4: my .cshrc file, part 3: aliases

# use by typing "abc" at the prompt, then using $a in the loop
alias abc foreach a \( 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z \)

# nice unified diff output
alias d diff -Naur

# ncftp is so much better than ftp...
alias ftp ncftp

# how I start up gnus
alias gnus emacs -name gnus -f gnus

# print out a file with line numbers - try "lines 
"
alias lines grep -n ^

# never overwrite files without asking
alias mv 'mv -i'

# start up an xterm with my preferred settings.  This is nice because
# Enlightenment will remember all these settings, unlike X resources,
# because they were invoked from the command line.
alias term xterm -bg black -fg yellow -fn -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso10646-1 -cr blue -geometry 80x50

# similar to "term", but with Unicode enabled
alias unicode xterm -u8 -font -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso10646-1

Return to article