README.MD typo fix

Aliases
- Moved to appropriately named file
- Added aliases for copying git-template and prettier-template
- Fix to git_push_all_changes function

Nvims
- Compacted the function

Project Access
- pnew() updated to clone remore repo or create a new one from scratch depending on options provided
This commit is contained in:
Pratik Tripathy
2024-03-06 16:09:39 +05:30
parent 1723bf8084
commit ca49dcafc2
6 changed files with 46 additions and 39 deletions

View File

@@ -1,11 +1,13 @@
#!/bin/sh
if [ -z "$XDG_CONFIG_HOME" ]; then
if [ "$XDG_CONFIG_HOME" = "" ]; then
echo "Config directory (shell variable XDG_CONFIG_HOME) not setup in the computer"
return 1
return 126
fi
[ -d "$XDG_CONFIG_HOME/shell/" ] || mkdir "$XDG_CONFIG_HOME/shell/" || return
if [ ! -d "$XDG_CONFIG_HOME/shell/" ] && [ ! -e "$XDG_CONFIG_HOME/shell/" ]; then
mkdir "$XDG_CONFIG_HOME/shell/" || return 126
fi
for x_10 in "$PWD"/10x*.sh; do
ln -sf "$x_10" "$XDG_CONFIG_HOME/shell/"