Mercurial > index.cgi > dotfiles
annotate .bash_aliases @ 8:aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
on it. Then changed the sshfs mounts to add a ",volname=<foo>" on Macs
(cleaner mounts on the desktop).
author | huston@80426f53-59d1-405d-934b-f07cd76f4a1a |
---|---|
date | Fri, 17 Apr 2009 04:02:24 +0000 |
parents | 072b183989e0 |
children | c47ed181081e |
rev | line source |
---|---|
8
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
1 # Mac OS X specific |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
2 [[ `uname` == "Darwin" ]] && { |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
3 # DARWIN is used for the SSHFS mounts below |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
4 DARWIN="yes" |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
5 alias ls='ls -FG' |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
6 } |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
7 |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
8 # Linux specific |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
9 [[ `uname` == "Linux" ]] && { |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
10 alias ls='ls --color=auto -F' |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
11 } |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
12 |
1
7e33b3191cf7
Merged in settings from home, and at the same time edited some of the
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
0
diff
changeset
|
13 # SSH aliases |
2
2b4dcc885071
Alphabetized aliases for easier sorting
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
1
diff
changeset
|
14 alias dh='ssh srhuston.net' |
2b4dcc885071
Alphabetized aliases for easier sorting
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
1
diff
changeset
|
15 alias dvra='ssh dvra@laurel.dreamhost.com' |
0 | 16 alias j='ssh joshua.srhuston.net' |
1
7e33b3191cf7
Merged in settings from home, and at the same time edited some of the
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
0
diff
changeset
|
17 alias r='ssh -l root' |
7e33b3191cf7
Merged in settings from home, and at the same time edited some of the
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
0
diff
changeset
|
18 alias roc='ssh zenoss@rocinante' |
2
2b4dcc885071
Alphabetized aliases for easier sorting
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
1
diff
changeset
|
19 alias s=ssh |
2b4dcc885071
Alphabetized aliases for easier sorting
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
1
diff
changeset
|
20 alias x='ssh xanadu.astro.princeton.edu' |
1
7e33b3191cf7
Merged in settings from home, and at the same time edited some of the
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
0
diff
changeset
|
21 |
7e33b3191cf7
Merged in settings from home, and at the same time edited some of the
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
0
diff
changeset
|
22 # Programs |
3
072b183989e0
Merged in changes for the Mac, including the beginnings of platform
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
2
diff
changeset
|
23 alias atari='atari800 -height 800 -width 600' |
2
2b4dcc885071
Alphabetized aliases for easier sorting
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
1
diff
changeset
|
24 alias base64='openssl enc -a' |
0 | 25 alias bsr='bigscreen -raAx' |
1
7e33b3191cf7
Merged in settings from home, and at the same time edited some of the
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
0
diff
changeset
|
26 alias irssi-test='irssi --home=~/irssi-test/' |
2
2b4dcc885071
Alphabetized aliases for easier sorting
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
1
diff
changeset
|
27 alias ret='screen -raAx' |
2b4dcc885071
Alphabetized aliases for easier sorting
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
1
diff
changeset
|
28 alias rot13="tr 'a-zA-Z' 'n-za-mN-ZA-M'" |
2b4dcc885071
Alphabetized aliases for easier sorting
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
1
diff
changeset
|
29 alias vi='vim' |
0 | 30 |
1
7e33b3191cf7
Merged in settings from home, and at the same time edited some of the
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
0
diff
changeset
|
31 # SSHFS mounts |
8
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
32 # The $DARWIN check fills in a nice volname if this is a Mac |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
33 alias junkpile="sshfs -oreconnect${DARWIN:+,volname=Junkpile} srhuston.net:junkpile ~/junkpile" |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
34 alias sharm="sshfs -oreconnect${DARWIN:+,volname=Harmonic} harmonic.srhuston.net: ~/harmonic" |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
35 alias sj="sshfs -oreconnect${DARWIN:+,volname=Joshua} joshua.srhuston.net: ~/joshua" |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
36 alias sdh="sshfs -oreconnect${DARWIN:+,volname=srhuston.net} srhuston.net: ~/srhuston.net" |
aa5e55aa62ef
Moved specific section to top of .bash_aliases, so other bits can be set based
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
3
diff
changeset
|
37 alias sx="sshfs -oreconnect${DARWIN:+,volname=Xanadu} xanadu.astro.princeton.edu: ~/xanadu" |