From 72e389fce70ded8eef4ffe6409f83a577dd094f1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 26 Feb 2016 00:09:32 -0500 Subject: [PATCH] Remove unused binaries --- bin/is-tmux-attached | 3 --- bin/project-root | 11 ----------- 2 files changed, 14 deletions(-) delete mode 100755 bin/is-tmux-attached delete mode 100755 bin/project-root diff --git a/bin/is-tmux-attached b/bin/is-tmux-attached deleted file mode 100755 index 44114018..00000000 --- a/bin/is-tmux-attached +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -[[ $(tmux display-message -p "#{?session_attached,1,0}") == "1" ]] diff --git a/bin/project-root b/bin/project-root deleted file mode 100755 index 534c236c..00000000 --- a/bin/project-root +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -local dir="${PWD%/*}" -while [[ ! -d "$dir/.git" && ! -d "$dir/.hg" && ! -d "$dir/.svn" && ! -f "$dir/.project" ]]; do - dir="${dir%/*}" - if [[ -z "$dir" ]]; then - echo -n "$PWD" - return - fi -done -echo -n "$dir"