diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-05-08 18:36:35 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-05-08 18:36:35 +0300 |
commit | fd652e1a2a94df6b931c352ad29830c3a6367b03 (patch) | |
tree | 2b302f34c62280effb6ae0cd0531694c9bd01f82 | |
parent | refactoring (diff) | |
download | linux-home-fd652e1a2a94df6b931c352ad29830c3a6367b03.tar.gz linux-home-fd652e1a2a94df6b931c352ad29830c3a6367b03.zip |
list_dirs: skip . + absolute paths
-rw-r--r-- | .bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -223,7 +223,7 @@ list_files() { } list_dirs() { - find . -type d + find . -type d | tail -n +2 | xargs realpath } list_git_files() { |