aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-05-08 18:36:35 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-05-08 18:36:35 +0300
commitfd652e1a2a94df6b931c352ad29830c3a6367b03 (patch)
tree2b302f34c62280effb6ae0cd0531694c9bd01f82
parentrefactoring (diff)
downloadlinux-home-fd652e1a2a94df6b931c352ad29830c3a6367b03.tar.gz
linux-home-fd652e1a2a94df6b931c352ad29830c3a6367b03.zip
list_dirs: skip . + absolute paths
Diffstat (limited to '')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
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() {