bashrc.cust: Add 'getalias' function
This commit is contained in:
1 parent
eb60b3bec6
commit
9c52079165
1 file changed
+4
@@ -33,4 +33,8 @@ alias wget='wget --hsts-file /dev/null'
|
||||
function cust-error {
|
||||
echo "ERROR: Invalid argument(s)!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
function getalias {
|
||||
alias "$1" |cut -d "=" -f 2- |sed "s/.//; s/.$//"
|
||||
}
|
||||
Reference in new issue
Block a user