mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
- Added Catppuccin theme - Added kitty terminal config # Sync and Rectify Vim & NVIM - Undo files are incompatible between VIM & NVIM - saved those files separately - Keybinding for saving and quitting moved to VIM config - VIM & NVIM swapfiles removed - More VIM options set to enhance usability - Synced system vim config and keybindings with ideavimrc # Shell Script File Changes - Reverted to using `#!/bin/sh` as bash is slow and not POSIX compliant. - Reformatted
18 lines
307 B
Bash
18 lines
307 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 && rustup update && npm update -g"
|