@@ -9,7 +9,7 @@ ZSH_THEME="clean" |
||
| 9 | 9 |
|
| 10 | 10 |
# Example aliases |
| 11 | 11 |
# alias zshconfig="mate ~/.zshrc" |
| 12 |
-alias ohmyzsh="mate ~/.oh-my-zsh" |
|
| 12 |
+alias ohmyzsh="nano ~/.oh-my-zsh" |
|
| 13 | 13 |
|
| 14 | 14 |
# Set to this to use case-sensitive completion |
| 15 | 15 |
# CASE_SENSITIVE="true" |
@@ -36,21 +36,11 @@ plugins=(git) |
||
| 36 | 36 |
|
| 37 | 37 |
source $ZSH/oh-my-zsh.sh |
| 38 | 38 |
|
| 39 |
- |
|
| 40 |
- |
|
| 41 |
-# TextMate |
|
| 42 |
-export TEXTMATE_PATH=/Applications/TextMate.app/Contents/Resources/mate |
|
| 43 |
-mate () {
|
|
| 44 |
- $TEXTMATE_PATH $1 $2 $3 $4 $5 $6 |
|
| 45 |
-} |
|
| 46 |
-export EDITOR="$TEXTMATE_PATH -w" |
|
| 47 |
-export LC_CTYPE=en_US.UTF-8 |
|
| 48 |
- |
|
| 49 |
-export EDITOR=pico |
|
| 39 |
+# Set default Editor |
|
| 40 |
+export EDITOR=nano |
|
| 50 | 41 |
|
| 51 | 42 |
# Mou |
| 52 | 43 |
alias mou="open /Applications/Mou.app" |
| 53 |
-alias rails_notes="open /Applications/Mou.app ~/Dev/rails_notes/index.md" |
|
| 54 | 44 |
|
| 55 | 45 |
# Postgre App |
| 56 | 46 |
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin |
@@ -60,35 +50,11 @@ if [ -f ~/.bash_aliases ]; then |
||
| 60 | 50 |
. ~/.bash_aliases |
| 61 | 51 |
fi |
| 62 | 52 |
|
| 63 |
-# [[ -s ~/.bashrc ]] && source ~/.bashrc |
|
| 64 |
- |
|
| 65 |
-PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting |
|
| 66 |
- |
|
| 67 |
- |
|
| 68 |
-# Start Avalanche project |
|
| 69 |
-avalanche2_start (){
|
|
| 70 |
- # Open postgres app |
|
| 71 |
- echo "Starting Postgre App" |
|
| 72 |
- open /Applications/Postgres.app |
|
| 73 |
- # Open project in texmate |
|
| 74 |
- echo "Opening TextMate project" |
|
| 75 |
- mate ~/dev/avalanche2 |
|
| 76 |
- cd ~/dev/avalanche2 |
|
| 77 |
- # start rails server |
|
| 78 |
- echo "Starting Foreman server" |
|
| 79 |
- cd ~/dev/avalanche2 |
|
| 80 |
- foreman start |
|
| 81 |
-} |
|
| 53 |
+# Add RVM to PATH for scripting |
|
| 54 |
+PATH=$PATH:$HOME/.rvm/bin |
|
| 82 | 55 |
|
| 83 | 56 |
# Open oh-my-zsh configurations in text mate |
| 84 |
-alias zshell="mate ~/.zshrc" |
|
| 85 |
- |
|
| 86 |
-# SSH |
|
| 87 |
-ssh_dev_machine () { ssh root@104.236.21.94 }
|
|
| 88 |
-ssh_gitlab () { ssh root@104.236.77.111 }
|
|
| 89 |
- |
|
| 90 |
-# Gist |
|
| 91 |
-source /usr/share/gist/gist.bash |
|
| 57 |
+alias zshell="nano ~/.zshrc" |
|
| 92 | 58 |
|
| 93 | 59 |
# teamocil autocomplete |
| 94 | 60 |
compctl -g '~/.teamocil/*(:t:r)' teamocil |