X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Ffunctions;h=69f8aa1ed7c2a405779dd6b7f7c3f1dd4855ac53;hb=1e05010510fe6afdb85e3ee06fab06cfd4ee9a74;hp=47db2ca93b40eaea7afde1f97179a5f011b3c673;hpb=7156527746ad1d3a0af416f5a836f6e4ea43ab1c;p=clearscm.git diff --git a/rc/functions b/rc/functions index 47db2ca..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="$@"