mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
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
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
|
||||
# Directories and Directory listings
|
||||
dir_size() {
|
||||
local dir
|
||||
if [ -z "$1" ]; then
|
||||
dir="${PWD}"
|
||||
else
|
||||
dir="$1"
|
||||
fi
|
||||
if [ "$1" = "" ]; then
|
||||
dir="$PWD"
|
||||
else
|
||||
dir="$1"
|
||||
fi
|
||||
|
||||
du -ah "${dir}" -d 1 | sort -hr
|
||||
du -ah "$dir" -d 1 | sort -hr
|
||||
}
|
||||
|
||||
# Update & Upgrades
|
||||
|
||||
Reference in New Issue
Block a user