Skip to content

Instantly share code, notes, and snippets.

@rootux
Last active November 16, 2019 19:17
Show Gist options
  • Select an option

  • Save rootux/b5b034f89d946665fc53673049b9c36c to your computer and use it in GitHub Desktop.

Select an option

Save rootux/b5b034f89d946665fc53673049b9c36c to your computer and use it in GitHub Desktop.

Revisions

  1. rootux revised this gist Nov 16, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions bash_profile
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,7 @@ alias gb='git branch'
    alias gcm='git checkout master'
    alias gp='git pull'
    alias gl='git log --oneline --decorate --graph'
    alias gbdl='git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d'
    if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
    alias mysql=/usr/local/mysql/bin/mysql
    alias mysqladmin=/usr/local/mysql/bin/mysqladmin
  2. rootux revised this gist Feb 15, 2018. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion bash_profile
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,6 @@ export PATH=~/Library/Python/2.7/bin:$PATH
    export NVM_DIR="$HOME/.nvm"
    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

    /Users/rootux/torch/install/bin/torch-activate
    [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

    alias ls='ls -G'
  3. rootux revised this gist Feb 15, 2018. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions bash_profile
    Original file line number Diff line number Diff line change
    @@ -17,3 +17,6 @@ export NVM_DIR="$HOME/.nvm"

    /Users/rootux/torch/install/bin/torch-activate
    [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

    alias ls='ls -G'
    export PS1="$ "
  4. rootux created this gist Jul 16, 2017.
    19 changes: 19 additions & 0 deletions bash_profile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    alias gcd='git checkout development'
    alias gc='git checkout'
    alias gcb='git checkout -b'
    alias gs='git status'
    alias gb='git branch'
    alias gcm='git checkout master'
    alias gp='git pull'
    alias gl='git log --oneline --decorate --graph'
    if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
    alias mysql=/usr/local/mysql/bin/mysql
    alias mysqladmin=/usr/local/mysql/bin/mysqladmin
    alias kill_node="kill -9 $(lsof -t -i:3000 -sTCP:LISTEN)"
    export PATH=~/Library/Python/2.7/bin:$PATH

    export NVM_DIR="$HOME/.nvm"
    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

    /Users/rootux/torch/install/bin/torch-activate
    [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion