Sha256: 61c4e638ef6d44857770e55e15b0b5962b09a7f41a83c01c0375260f49c0cd9f
Contents?: true
Size: 1.77 KB
Versions: 3
Compression:
Stored size: 1.77 KB
Contents
# Aliases useful for Codelation development alias desktop="cd ~/Desktop" alias downloads="cd ~/Downloads" alias fixopenwith="/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user" alias gg="git status -s" alias gitclean='git branch --merged | grep -v "\*" | xargs -n 1 git branch -d' alias ll="ls -lah" alias railsclean="RAILS_ENV=development rake assets:clean; RAILS_ENV=development rake tmp:clear; RAILS_ENV=test rake assets:clean; RAILS_ENV=test rake tmp:clear" alias ss="bundle exec rake start" # Add Postgres commands from Postgres.app PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin # Add ./bin to make running Rails commands with Spring the default PATH=./bin:$PATH # Include chruby for switching between Ruby versions source /usr/local/share/chruby/chruby.sh source /usr/local/share/chruby/auto.sh # Set the default Ruby version chruby ruby-2.3.0 # Git Completion & Repo State # http://neverstopbuilding.com/gitpro source ~/.codelation/bash/.git-completion.bash source ~/.codelation/bash/.git-prompt.sh MAGENTA="\[\033[0;35m\]" YELLOW="\[\033[0;33m\]" BLUE="\[\033[34m\]" LIGHT_GRAY="\[\033[0;37m\]" CYAN="\[\033[0;36m\]" GREEN="\[\033[0;32m\]" GIT_PS1_SHOWDIRTYSTATE=true export LS_OPTIONS='--color=auto' export CLICOLOR='Yes' export LSCOLORS=gxfxbEaEBxxEhEhBaDaCaD export PS1=$LIGHT_GRAY"\u@\h"'$( if [[ $(__git_ps1) =~ \*\)$ ]] # a file has been modified but not added then echo "'$YELLOW'"$(__git_ps1 " (%s)") elif [[ $(__git_ps1) =~ \+\)$ ]] # a file has been added, but not commited then echo "'$MAGENTA'"$(__git_ps1 " (%s)") # the state is clean, changes are commited else echo "'$CYAN'"$(__git_ps1 " (%s)") fi)'$BLUE" \w"$GREEN": "
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
codelation-cli-0.0.26 | resources/dot_files/.codelation.bash |
codelation-cli-0.0.25 | resources/dot_files/.codelation.bash |
codelation-cli-0.0.24 | resources/dot_files/.codelation.bash |