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