projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
aa521d4
)
Add .bashrc
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Mon, 8 Mar 2010 19:47:38 +0000 (11:47 -0800)
committer
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Mon, 8 Mar 2010 19:47:38 +0000 (11:47 -0800)
.bashrc
[new file with mode: 0644]
patch
|
blob
diff --git a/.bashrc
b/.bashrc
new file mode 100644
(file)
index 0000000..
77f95a1
--- /dev/null
+++ b/
.bashrc
@@ -0,0
+1,20
@@
+# .bashrc
+
+# Source global definitions
+if [ -f /etc/bashrc ]; then
+ . /etc/bashrc
+fi
+
+case $- in
+*i*)
+ # interactive shell
+ alias ls='ls --color=auto'
+ alias mv='mv -i'
+ alias vi='vim'
+ alias wget='wget --user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"'
+ alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
+ ;;
+*)
+ # non-interactive shell
+ ;;
+esac