Added my-alias command to display all custom aliases
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user