mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-05 00:41:44 +05:30
- 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
16 lines
324 B
Bash
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"
|