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:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user