Update .config/fish/conf.d/20-aliases.fish

This commit is contained in:
punkfairie 2024-04-27 19:24:05 -07:00
parent c9d2b6eee3
commit b64f47f965
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -77,12 +77,3 @@ end
function cdls -d "CD into a directory and list its contents" function cdls -d "CD into a directory and list its contents"
cd "$argv" && ls cd "$argv" && ls
end end
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Check battery.
function batt -d "Check battery percentage"
upower -i /org/freedesktop/UPower/devices/battery_BAT0 \
| grep -E "state|time to|percentage"
end