Alias top to htop

This commit is contained in:
Josh Sherman 2024-06-25 10:05:51 -05:00
parent 3b1a3404d6
commit 7db4ff12a3
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -46,6 +46,9 @@ alias GET='http'
alias POST='http POST' alias POST='http POST'
alias HEAD='http HEAD' alias HEAD='http HEAD'
# Use htop instead of boring old top
alias top='htop'
# Get the git branch name for the current directory (used in the prompt) # Get the git branch name for the current directory (used in the prompt)
git_current_branch() { git_current_branch() {
(command git symbolic-ref -q HEAD || command git name-rev --name-only --no-undefined --always HEAD) 2> /dev/null (command git symbolic-ref -q HEAD || command git name-rev --name-only --no-undefined --always HEAD) 2> /dev/null