From 0aeb174c6083801b04746aa6b104a603ec68cb9f Mon Sep 17 00:00:00 2001 From: rydesun Date: Sat, 14 Nov 2020 15:12:13 +0800 Subject: [PATCH] Add zsh alias --- .config/zsh/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 8e0e4ac..93e72ae 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -190,6 +190,7 @@ alias g='git' && compdef g=git alias py='python' && compdef py=python alias config='/usr/bin/git --git-dir=$HOME/.myconf/ --work-tree=$HOME' && compdef config=git alias ssh='TERM=xterm-256color ssh' +alias mountdisk="mount | grep -E '^(/dev/sd|/dev/nvme|/dev/mmcblk|gvfsd-fuse)' | awk '{print \$1 \"\t\" \$5 \"\t\" \$3 \"\n\t\t\" \$6}'" # >>>----------------------------------- # vim: foldmethod=marker:foldmarker=<<<---,>>>---