Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

oh man i might be screwing things up

  • Loading branch information...
commit a17fa99774ce26ab08ccdcc22dae9f1a6a55abae 1 parent 1cbb4d8
Matt Hackett authored
41 bash_profile.sh
@@ -11,13 +11,9 @@ source /usr/local/etc/bash_completion.d/git-completion.bash
11 11 alias '.l'='..; l'
12 12 alias c='clear'
13 13 alias flushdns='dscacheutil -flushcache'
14   -alias gvimrc='vim ~/.gvimrc'
15 14 alias hasinternet='ping google.com'
16 15 alias hosts='sudo vim /etc/hosts'
17   -alias ip='ifconfig | grep 173'
18 16 alias l='ls -lah'
19   -alias lakitu='ssh richtaur@74.207.252.123'
20   -alias osrc='vim ~/dev/projects/dotfiles/osx_setup.md'
21 17 alias rc='/usr/bin/vim ~/.bash_profile; source $_'
22 18 alias vimrc='vim ~/.vimrc'
23 19
@@ -45,30 +41,20 @@ alias gs='git status'
45 41 # Applications
46 42 alias telog='tail -f /var/log/apache2/error_log'
47 43 alias top='top -o cpu'
48   -alias vim='mvim'
49   -alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'
50 44
51 45 ##############################################################################
52 46 # Global exports
53 47 ###############################################################################
54 48
55 49 export CLICOLOR='1'
56   -export COMPUTERNAME='Belmont'
57 50 export EDITOR='/usr/bin/vim'
58 51 export PATH='/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/opt/local/include:/opt/local/apache2/include:/usr/local/include'
59   -export PATH="${HOME}/dev/game_closure/dev_sdk/gc_env/bin:${PATH}"
60 52 export PATH="${HOME}/dev/lost_decade/djinn/tools/bin:${PATH}"
61 53
62 54 # Set the command prompt, eg:
63 55 # [richtaur@Belmont:Lost Decade](master)> cd ..
64 56 export PS1="[\e[0;32m\]\u@${COMPUTERNAME}:\W\[\e[m\]]\[\e[1;32m\]\[\e[m\]\$(get_branch)> "
65 57
66   -# Set iTerm's tab titles
67   -export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${COMPUTERNAME}: ${PWD/#$HOME/~}\007"'
68   -
69   -# Game Closure
70   -export GCANDROID='/Users/richtaur/dev/game_closure/android'
71   -
72 58 ###############################################################################
73 59 # Macros
74 60 ###############################################################################
@@ -87,10 +73,6 @@ lameit() {
87 73 rm $1.wav
88 74 }
89 75
90   -ogg() {
91   - vlc -I dummy $1 --sout="#transcode{scale=1,acodec=vorbis,ab=192,channels=2,samplerate=44100}:std{access=file,mux=ogg,dst=$2}" vlc://quit
92   -}
93   -
94 76 png() {
95 77 ls -lh $1
96 78 pngcrush -q $1 tmp.png
@@ -98,30 +80,7 @@ png() {
98 80 ls -lh $1
99 81 }
100 82
101   -tmp() {
102   - scp -r $1 richtaur@74.207.252.123:/home/richtaur/dev/projects/richtaur.com/misc/tmp/
103   - echo http://www.richtaur.com/misc/tmp/$1 | pbcopy
104   - echo "Done! Uploaded to http://www.richtaur.com/misc/tmp/$1 (it's in your copy buffer)."
105   -}
106   -
107 83 untargz() {
108 84 gzip -d $1
109 85 tar -xvf $1
110 86 }
111   -
112   -# Update dev_sdk ##############################################################
113   -
114   -updatedev_sdk() {
115   - # Get latest ui-develop and update submodules
116   - git pull origin ui-develop
117   - git submodule update --init
118   -
119   - # Switch timestep to redraw branch and update
120   - cd lib/timestep
121   - git checkout redraw
122   - git pull origin redraw
123   - cd ../..
124   -
125   - # Install it!
126   - ./dev_install.sh
127   -}
21 belmont/bash_profile.sh
... ... @@ -0,0 +1,21 @@
  1 +export COMPUTERNAME='Belmont'
  2 +
  3 +# Set iTerm's tab titles
  4 +export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${COMPUTERNAME}: ${PWD/#$HOME/~}\007"'
  5 +
  6 +alias gvimrc='vim ~/.gvimrc'
  7 +alias ip='ifconfig | grep 173'
  8 +alias lakitu='ssh richtaur@74.207.252.123'
  9 +alias osrc='vim ~/dev/projects/dotfiles/belmont/osx_setup.md'
  10 +alias vim='mvim'
  11 +alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'
  12 +
  13 +ogg() {
  14 + vlc -I dummy $1 --sout="#transcode{scale=1,acodec=vorbis,ab=192,channels=2,samplerate=44100}:std{access=file,mux=ogg,dst=$2}" vlc://quit
  15 +}
  16 +
  17 +tmp() {
  18 + scp -r $1 richtaur@74.207.252.123:/home/richtaur/dev/projects/richtaur.com/misc/tmp/
  19 + echo http://www.richtaur.com/misc/tmp/$1 | pbcopy
  20 + echo "Done! Uploaded to http://www.richtaur.com/misc/tmp/$1 (it's in your copy buffer)."
  21 +}
0  osx_setup.md → belmont/osx_setup.md
File renamed without changes
6 install.sh
... ... @@ -1,10 +1,14 @@
1 1 #!/bin/bash
2 2
3 3 CURRENT_DIRECTORY=`pwd`
  4 +
  5 +cp bash_profile.sh bash_profile.tmp
  6 +`cat bash_profile_lakitu.sh` >> bash_profile.tmp
  7 +
4 8 cd ~/
5 9
6 10 rm .bash_profile
7   -ln -s $CURRENT_DIRECTORY/bash_profile.sh .bash_profile
  11 +ln -s $CURRENT_DIRECTORY/bash_profile.tmp .bash_profile
8 12
9 13 rm .gitconfig
10 14 ln -s $CURRENT_DIRECTORY/git.config .gitconfig
3  lakitu/bash_profile.sh
... ... @@ -0,0 +1,3 @@
  1 +export COMPUTERNAME='Lakitu'
  2 +
  3 +alias tmp='cd ~/dev/projects/richtaur.com/htdocs/misc/tmp'

0 comments on commit a17fa99

Please sign in to comment.
Something went wrong with that request. Please try again.