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"