Added my-alias command to display all custom aliases

This commit is contained in:
Phil 2023-01-28 20:52:16 +00:00
parent 877525e9f0
commit 916df06461
2 changed files with 4 additions and 0 deletions

View File

@ -345,3 +345,7 @@ echo "Premium Diesel - $costco_diesel p"
echo "Premium Unleaded - $premium_unleaded p"
echo "Unleaded - $costco_unleaded p"
}
## Display all commands in this Alias file
alias my-alias="cat ~/.aliases | grep -oP 'alias\s\K[^=]+' | sort -n"

BIN
.aliases.swp Normal file

Binary file not shown.