mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-17 17:28:07 +00:00
fix(motd): update df part
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
if is_mac; then
|
||||
df -h /System/Volumes/Data NE
|
||||
if [[ "$(uname -s)" =~ "darwin" ]]; then
|
||||
df -h /System/Volumes/Data 2>/dev/null
|
||||
else
|
||||
df -h /dev/sda NE
|
||||
df -h /dev/sd* -x devtmpfs 2>/dev/null
|
||||
fi
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user