Files
dotfiles/macos/shell/aliases_mac.sh
Pratik Tripathy 445ba576ca Template files created
- Gitignore and Prettierrc
- Created 2 env variables pointing to them

Shellcheck & Shellharden suggestions Implemented

NeoVim
- Replaced tpope/vim-surround with kylechui/nvim-surround
- LuaSnip typo fix
- [Ctrl+p] to open file fzf
- Formatting
2024-03-06 16:01:37 +05:30

16 lines
324 B
Bash

#!/bin/sh
# Directories and Directory listings
dir_size() {
if [ "$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"