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:
Pratik Tripathy
2024-03-06 16:01:37 +05:30
parent b0efae3730
commit 445ba576ca
14 changed files with 130 additions and 108 deletions

View File

@@ -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