X-Git-Url: https://git.grml.org/?p=grml-etc-core.git;a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=775293da97fec2090e5b15689bb841be92e3084e;hp=1376e4edd08f8a7d3229ae77839cfef8e4df9567;hb=6646b26392be8fd221231087b923dd1d7ab040e9;hpb=dbcbf31dee2c4a60dd2aa484f90225d22fefee24 diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 1376e4e..775293d 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2542,7 +2542,10 @@ else alias l='command ls -l' fi -alias mdstat='cat /proc/mdstat' +if [[ -r /proc/mdstat ]]; then + alias mdstat='cat /proc/mdstat' +fi + alias ...='cd ../../' # generate alias named "$KERNELVERSION-reboot" so you can use boot with kexec: