aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2011-09-08 13:00:16 -0700
committerMathias Bynens <mathias@qiwi.be>2011-09-08 13:00:16 -0700
commit5e05c0677ba05f911cfcac6acc4edb6c1b5ea8b3 (patch)
tree3c15a50f4c553159319e4ed959f321a22ce465a8
parent558b2c46d29075966fca42c4ab3fce63b9e61a29 (diff)
parent99afefda7077e88bdd598416359c0fb78a9cdebd (diff)
downloaddotfiles-5e05c0677ba05f911cfcac6acc4edb6c1b5ea8b3.tar.gz
dotfiles-5e05c0677ba05f911cfcac6acc4edb6c1b5ea8b3.tar.bz2
dotfiles-5e05c0677ba05f911cfcac6acc4edb6c1b5ea8b3.zip
Merge pull request #7 from kridolfo/patch-1
Added `lsd` to list only directories.
-rw-r--r--.aliases3
1 files changed, 3 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index fb1a37a..2604029 100644
--- a/.aliases
+++ b/.aliases
@@ -7,6 +7,9 @@ alias -- -="cd -"
# List all files colorized in long format, including dot files
alias la="ls -Gla"
+# List only directories
+alias lsd='ls -l | grep "^d"'
+
# Undo a `git push`
alias undopush="git push -f origin HEAD^:master"