style: use -n flag in head and tail commands (#10391)

Co-authored-by: Marc Cornellà <hello@mcornella.com>
This commit is contained in:
Kevin BurkeandMarc Cornellà authored and GitHub committed 2021-11-09 09:04:10 +01:00
1 parent 55682e3692
commit e86c6f5e7f
8 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ function d () {
if [[ -n $1 ]]; then
dirs "$@"
else
dirs -v | head -10
dirs -v | head -n 10
fi
}
compdef _dirs d