Skip to content

Commit

Permalink
Add more aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav-nath committed Aug 26, 2022
1 parent e55d90a commit ef82646
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ alias ..5="cd ../../../../.."
alias ll="ls -lrth"
alias lla="ls -lrtha"

alias reload="source ~/.zshrc"

# Find top n biggest files (default is 5)
big() { num=5; if [ $# -gt 0 ]; then num=$1 fi; find . -type f -exec ls -s {} \; | sort -n -r | head -$num | awk '{printf("%.2fM %s\n", $1*512/1024/1024, $2)}' }

alias utc="TZ=UTC date"
alias cst="TZ=US/Central date"
alias est="TZ=US/Eastern date"
Expand Down

0 comments on commit ef82646

Please sign in to comment.