aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Williams <tgwil@tgwil.net>2024-10-14 16:51:45 -0400
committerTristan Williams <tgwil@tgwil.net>2024-10-14 16:51:45 -0400
commit4899c23dc7cf46180d4929ba00c55b4242b40918 (patch)
tree765aaffab44b52aafc58db33b93abf6a92d537a3
parentChange intended install dir to /usr/local/share instead of $HOME (diff)
downloaddotfiles.core-4899c23dc7cf46180d4929ba00c55b4242b40918.tar.gz
dotfiles.core-4899c23dc7cf46180d4929ba00c55b4242b40918.tar.bz2
dotfiles.core-4899c23dc7cf46180d4929ba00c55b4242b40918.zip
Undo that last thing, bad plan
-rwxr-xr-xnew-user-setup.sh17
1 files changed, 8 insertions, 9 deletions
diff --git a/new-user-setup.sh b/new-user-setup.sh
index 113bfa4..17b6348 100755
--- a/new-user-setup.sh
+++ b/new-user-setup.sh
@@ -7,9 +7,8 @@
7# This script sets up a new account. As this is the dotfiles.core 7# This script sets up a new account. As this is the dotfiles.core
8# installer, only things which apply to every account are done here. 8# installer, only things which apply to every account are done here.
9# 9#
10# This installer assumes that: 10# This installer assumes that the dotfiles.core repository has been
11# - the dotfiles.core repository has been cloned into /usr/local/share/ 11# cloned to $HOME/dotfiles.core/
12# - the user has at least rx permissions for /usr/local/share/dotfiles.core/
13# 12#
14# This installer also assumes that dotfiles.sys and all necessary 13# This installer also assumes that dotfiles.sys and all necessary
15# packages have been installed. 14# packages have been installed.
@@ -223,20 +222,20 @@ while
223 place_directory $HOME/bin 222 place_directory $HOME/bin
224 223
225 # Bash Configuration 224 # Bash Configuration
226 place_symlink /usr/local/share/dotfiles.core/home/.bash_profile $HOME/.bash_profile 225 place_symlink $HOME/dotfiles.core/home/.bash_profile $HOME/.bash_profile
227 place_symlink /usr/local/share/dotfiles.core/home/.bashrc $HOME/.bashrc 226 place_symlink $HOME/dotfiles.core/home/.bashrc $HOME/.bashrc
228 place_symlink /usr/local/share/dotfiles.core/home/.bash_aliases $HOME/.bash_aliases 227 place_symlink $HOME/dotfiles.core/home/.bash_aliases $HOME/.bash_aliases
229 228
230 # GPG Configuration 229 # GPG Configuration
231 place_directory $HOME/.gnupg/ 230 place_directory $HOME/.gnupg/
232 place_symlink /usr/local/share/dotfiles.core/home/.gnupg/gpg-agent.conf $HOME/.gnupg/gpg-agent.conf 231 place_symlink $HOME/dotfiles.core/home/.gnupg/gpg-agent.conf $HOME/.gnupg/gpg-agent.conf
233 232
234 # Git configuration 233 # Git configuration
235 place_symlink /usr/local/share/dotfiles.core/home/.gitconfig $HOME/.gitconfig 234 place_symlink $HOME/dotfiles.core/home/.gitconfig $HOME/.gitconfig
236 echo -e "${WARN}WARNING: ~/.gitconfig.local should be placed manually${ENDCOLOR}" 235 echo -e "${WARN}WARNING: ~/.gitconfig.local should be placed manually${ENDCOLOR}"
237 236
238 # Common Lisp SBCL Configuration 237 # Common Lisp SBCL Configuration
239 place_symlink /usr/local/share/dotfiles.core/home/.sbclrc $HOME/.sbclrc 238 place_symlink $HOME/dotfiles.core/home/.sbclrc $HOME/.sbclrc
240 place_directory $HOME/lisp 239 place_directory $HOME/lisp
241 240
242 echo "INFO : Configuration files placed!" 241 echo "INFO : Configuration files placed!"