13 lines
354 B
Bash
Executable File
13 lines
354 B
Bash
Executable File
#!/bin/zsh
|
|
#
|
|
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
|
|
|
if [[ (-e ~/.config/powerline) ]]; then
|
|
echo "A powerline configuration already exists (~/.config/powerline)"
|
|
echo "Remove this configuration and start the script again"
|
|
else
|
|
echo "Creating link"
|
|
ln -vs $SCRIPTPATH/.config/powerline ~/.config/powerline
|
|
fi
|
|
|