Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Configured and installed SCM Breeze

  • Loading branch information...
commit e9d7595202c24e697118a3977e121e493ea855fe 1 parent 57b0cea
@anttihirvonen authored
Showing with 105 additions and 0 deletions.
  1. +3 −0  bashrc
  2. +88 −0 git.scmbrc
  3. +14 −0 scmbrc
View
3  bashrc
@@ -112,3 +112,6 @@ fi
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
+
+# Activate SCM Breeze shortcuts
+[ -s "$HOME/.scm_breeze/scm_breeze.sh" ] && source "$HOME/.scm_breeze/scm_breeze.sh"
View
88 git.scmbrc
@@ -0,0 +1,88 @@
+#
+# Git File Shortcuts Config
+# ----------------------------------------------
+# - Set your preferred prefix for env variable file shortcuts.
+# (I chose 'e' because it is easy to slide your finger to it from '$'.)
+export git_env_char="e"
+# - Max changes before reverting to 'git status'. git_status_shortcuts() may slow down for lots of changes.
+export gs_max_changes="99"
+# - When using the git_add_shorcuts() command, automatically invoke 'git rm' to remove deleted files?
+export ga_auto_remove="yes"
+
+
+# Git Index Config
+# ----------------------------------------------
+# Repos will be automatically added from this directory.
+export GIT_REPO_DIR="$HOME/code"
+# Add the full paths of any extra repos to GIT_REPOS, separated with ':'
+# e.g. "/opt/rails/project:/opt/rails/another project:$HOME/other/repo"
+export GIT_REPOS=""
+export git_status_command="git_status_shortcuts"
+# Alias
+git_index_alias="c" # Switch to a repo in the (c)ode directory
+
+
+# Git Aliases
+# ----------------------------------------------
+git_alias="g"
+
+# 1. 'SCM Breeze' functions
+git_status_shortcuts_alias="gs"
+git_add_shortcuts_alias="ga"
+git_add_patch_shortcuts_alias="gap"
+git_show_files_alias="gsf"
+exec_git_expand_args_alias="ge"
+# 2. Commands that handle paths (with shortcut args expanded)
+git_checkout_alias="gco"
+git_checkout_branch_alias="gcob"
+git_commit_alias="gc"
+git_reset_alias="grs"
+git_reset_del_alias="grs-"
+git_reset_hard_alias="grsh"
+git_rm_alias="grm"
+git_blame_alias="gbl"
+git_diff_alias="gd"
+git_diff_cached_alias="gdc"
+# 3. Standard commands
+git_clone_alias="gcl"
+git_fetch_alias="gf"
+git_fetch_all_alias="gfa"
+git_fetch_and_rebase_alias="gfr"
+git_pull_alias="gpl"
+git_push_alias="gps"
+git_pull_then_push_alias="gpls"
+git_status_original_alias="gst"
+git_status_short_alias="gss"
+git_clean_alias="gce"
+git_clean_force_alias="gcef"
+git_add_all_alias="gaa"
+git_commit_all_alias="gca"
+git_commit_amend_alias="gcm"
+git_commit_amend_no_msg_alias="gcmh"
+git_commit_no_msg_alias="gch"
+git_remote_alias="gr"
+git_branch_alias="gb"
+git_branch_all_alias="gba"
+git_rebase_alias="grb"
+git_rebase_alias_continue="grbc"
+git_rebase_alias_abort="grba"
+git_merge_alias="gm"
+git_cherry_pick_alias="gcp"
+git_log_alias="gl"
+git_log_stat_alias="gls"
+git_log_graph_alias="glg"
+git_show_alias="gsh"
+
+
+# Git Keyboard Shortcuts
+# ----------------------------------------------
+# Keyboard shortcuts are on by default. Set this to 'false' to disable them.
+git_keyboard_shortcuts_enabled="false"
+git_commit_all_keys="\C-x " # CTRL+x, SPACE
+git_add_and_commit_keys="\C-xc" # CTRL+x, c
+
+
+# Bash Command Wrapping
+# ----------------------------------------------
+# Expand numbered args for common bash commands
+bash_command_wrapping_enabled="true"
View
14 scmbrc
@@ -0,0 +1,14 @@
+# Default SCM Breeze configuration file
+#
+# Design Assets Management Config (Default One)
+# ----------------------------------------------------------------
+# Directory where design assets are stored
+export root_design_dir="$HOME/Dropbox/Design"
+# Directory where symlinks are created within each project
+export project_design_dir="design_assets"
+# Directories for per-project design assets
+export design_base_dirs="Documents Flowcharts Images Backgrounds Logos Icons Mockups Screenshots"
+export design_av_dirs="Animations Videos Flash Music Samples"
+# Directories for global design assets (not symlinked into projects)
+export design_ext_dirs="Fonts IconSets"
+
Please sign in to comment.
Something went wrong with that request. Please try again.