Actions
Added in 3.9
/hrename <table> <newtable>
Renames a hash table.
Parameters
| Parameter | Description |
| <table> | The table name to rename. |
| <newtable> | The new table name. |
Example
alias testrename {
hmake table
hadd table item value
echo -sg $hget(table, item)
hrename table newtable
echo -sg $hget(newtable, item)
}
Updated by Per Amundsen over 2 years ago · 2 revisions