blob: 2334c246fdcb10b7480e203586a6441828490010 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env bash
read -e -p "Create configuration for clerk? (Y/n) > " install
install=${install:-y}
case $install in
[Yy]) cp clerk $path;
if [[ ! -d "${HOME}/.config/clerk" ]]
then
mkdir "${HOME}/.config/clerk"
fi
cp /usr/share/doc/clerk/clerk.tmux /usr/share/doc/clerk/clerk.conf "${HOME}/.config/clerk"
sed -i "s@PLACEHOLDER@"$HOME"@" "${HOME}/.config/clerk/clerk.conf"
;;
*) exit;
esac
|