aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"