From fd652e1a2a94df6b931c352ad29830c3a6367b03 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 8 May 2016 18:36:35 +0300 Subject: list_dirs: skip . + absolute paths --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index e6ba688..eef28c7 100644 --- a/.bashrc +++ b/.bashrc @@ -223,7 +223,7 @@ list_files() { } list_dirs() { - find . -type d + find . -type d | tail -n +2 | xargs realpath } list_git_files() { -- cgit v1.2.3