X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Ffunctions;h=69f8aa1ed7c2a405779dd6b7f7c3f1dd4855ac53;hb=d266a5541890effba039977967bf046ea2e0f35b;hp=89bfb9f4ee3c2113ab5d2c707943182453e61bda;hpb=28cb57384e4ce44b3c31d4e242a69149da7260c2;p=clearscm.git diff --git a/rc/functions b/rc/functions index 89bfb9f..69f8aa1 100644 --- a/rc/functions +++ b/rc/functions @@ -17,21 +17,6 @@ CR=$(echo "\015") view_name= -function in_git_repo { - pwd=$PWD - - while [ "$pwd" != "/" ]; do - if [ -d "$pwd/.git" ]; then - true; - return; - fi - - pwd=$(dirname $pwd) - done - - false -} # in_git_repo - # Function to set the title bar. Works on the terminal emulators listed. function title_bar { prefix="$@"