diff --git a/bashrc.cust b/bashrc.cust index 63bb68f..100ed75 100644 --- a/bashrc.cust +++ b/bashrc.cust @@ -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/.$//" } \ No newline at end of file