mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
- Updated repo to support both mac and kde neon - bootstrap.sh updated to auto-detect OS and read from the required directory - Added VIM & NeoVIM dot files
18 lines
290 B
Bash
18 lines
290 B
Bash
#!/usr/bin/env bash
|
|
|
|
# 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 && rustup update && npm update -g"
|