mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
- 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
17 lines
299 B
Bash
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"
|