linting clean up

pull/1762/head
cornfeedhobo 2021-01-03 23:31:06 -06:00
parent 8087e7af49
commit 5acb5a4234
No known key found for this signature in database
GPG Key ID: 724357093F994B26
2 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@ lint_clean_files.sh
# libs
#
lib/appearance.bash
lib/history.bash
# themes
#

View File

@ -7,6 +7,6 @@ export HISTCONTROL=${HISTCONTROL:-ignorespace:erasedups} # erase duplicates; alt
export HISTSIZE=${HISTSIZE:-5000} # resize history size
export AUTOFEATURE=${AUTOFEATURE:-true autotest} # Cucumber / Autotest integration
function rh {
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
rh() {
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
}