Added my-alias command to display all custom aliases
This commit is contained in:
1 parent
877525e9f0
commit
916df06461
2 files changed
+4
No files matched your search
@@ -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