Files
dotfiles/macos/.aliases_mac
Pratik Tripathy 5fa524dd1d - TMUX: Switched back to ctrl+b as leader
- VIM: Configurations better commented
- NVIM: NVChad, LazyNvim, Old-Config removed
- NVIM: Restarted and reconfigured from kickstart.nvim [WIP]
- Dotfiles on $HOME removed from 160+ to 25. Most of them moved to $XDG_* directories
- Shell: Added back p10k config
- Shell: Autoremove brew left over applications
- Kitty: Added bashrc & profiles for ssh kitten
- Kitty: Custom tab-titles
2024-01-29 22:51:23 +05:30

17 lines
299 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 && rustup update && npm update -g"