dotfiles/setup.sh

14 lines
270 B
Bash
Raw Normal View History

2019-12-19 11:41:18 +01:00
#!/bin/sh
cp Settings/.zshrc Settings/.vimrc Settings/.zprofile Settings/.gitconfig .
2020-01-03 13:19:41 +01:00
if [ $(id -u) -ne 0 ]
then
echo "run me as root to copy cdbm to the system"
else
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin; fi
cp Settings/cdbm /usr/local/bin
fi
2019-12-19 11:41:18 +01:00