Files
dotfiles/macos/.aliases_mac
Pratik Tripathy 6b2d076cdc - Shell Scripts: FZF function to fuzzy find all of my projects and open nvim on that project
- Shell Scripts: WIP efforts to comply all to POSIX
2024-02-06 23:24:53 +05:30

17 lines
313 B
Bash

#!/bin/sh
# Directories and Directory listings
dir_size() {
local dir
if [ -z "$1" ]; then
dir="${PWD}"
else
dir="$1"
fi
du -ah "${dir}" -d 1 | sort -hr
}
# Update & Upgrades
alias up="brew upgrade --cask && brew upgrade --formula && brew autoremove && brew cleanup && rustup update && npm update -g"