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
15 lines
371 B
Bash
Executable File
15 lines
371 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$XDG_CONFIG_HOME" = "" ]; then
|
|
echo "Config directory (shell variable XDG_CONFIG_HOME) not setup in the computer"
|
|
return 126
|
|
fi
|
|
|
|
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/"
|
|
done
|