From 1eb07230cbee6da8fabdbbf5493ee08770f49b16 Mon Sep 17 00:00:00 2001 From: Jules Marquez Date: Tue, 10 Mar 2015 08:44:30 -0600 Subject: [PATCH 1/3] added git flow command just in case you have git flow installed --- git-sh.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/git-sh.bash b/git-sh.bash index 1891700..5f91215 100644 --- a/git-sh.bash +++ b/git-sh.bash @@ -100,6 +100,7 @@ _git_cmd_cfg=( 'fetch alias stdcmpl' 'format-patch alias stdcmpl' 'fsck alias' + 'flow alias' 'gc alias stdcmpl' 'gui alias' 'hash-object alias' From 21ed4a3c4023bd36c6a30dd0a8a2bc54096d0053 Mon Sep 17 00:00:00 2001 From: Jules Marquez Date: Tue, 10 Mar 2015 08:51:25 -0600 Subject: [PATCH 2/3] Added information for git-flow --- README.markdown | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 4dca93c..87ee18b 100644 --- a/README.markdown +++ b/README.markdown @@ -95,7 +95,6 @@ Customizing Most `git-sh` behavior can be configured by editing the user or system gitconfig files (`~/.gitconfig` and `/etc/gitconfig`) either by hand or using `git-config(1)`. The `[alias]` section is used to create basic command aliases. - The `/etc/gitshrc` and `~/.gitshrc` files are sourced (in that order) immediately before the shell becomes interactive. @@ -103,6 +102,23 @@ The `~/.bashrc` file is sourced before either `/etc/gitshrc` or `~/.gitshrc`. Any bash customizations defined there and not explicitly overridden by `git-sh` are also available. +Installing git-flow (optional) +------------ +Git-sh supports git-flow plugin, to install gitflow you can use the next url https://github.com/nvie/gitflow/wiki/Installation + +You can also install it manually using the next steps. + + $ git clone --recursive git://github.com/nvie/gitflow.git + $ cd gitflow + $ sudo make install + +Then start a shell with `git-sh` and you will have access to flow plugin: + + $ git-sh + master!git-sh> flow feature start NEWFEAUTURE + +For more information visit https://github.com/nvie/gitflow + Copying ------- From 177c17ed8e6da21e989761b28b2fc830cf489935 Mon Sep 17 00:00:00 2001 From: b3n01t Date: Tue, 10 Mar 2015 10:14:08 -0600 Subject: [PATCH 3/3] add sourcing of bash_profile --- git-sh.bash | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/git-sh.bash b/git-sh.bash index 5f91215..3ba5398 100644 --- a/git-sh.bash +++ b/git-sh.bash @@ -40,6 +40,11 @@ exec /usr/bin/env bash --rcfile "$0" "$@" popd > /dev/null } +[ -r ~/.bash_profile ] && { + pushd ~ > /dev/null + . .bash_profile + popd > /dev/null +} # ALIASES + COMPLETION =========================================================