-p is available since Vim 7.
# Display all files and use human readable sizes.
alias du='du -sh'
# Display all files and use human readable sizes.
alias du='du -sh'
-# Multiple files given to Vim are opened in tabs.
-alias vim='vim -p'
+# Multiple files given to Vim are opened in tabs, supported since Vim 7.
+if [[ ${${${(f)"$(vim --version)"}[1]#VIM - Vi IMproved }%% *} == 7* ]]; then
+ alias vim='vim -p'
+fi
# Shortcuts for often used programs.
alias e='elinks'
# Shortcuts for often used programs.
alias e='elinks'