From 154ef2e0111ca34b29bd4650d1e461239b5c4e9d Mon Sep 17 00:00:00 2001 From: Niels Mokkentstorm Date: Fri, 26 Jan 2024 16:11:12 +0100 Subject: [PATCH] fix pwd --- install.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 41a7573..0e63bc9 100644 --- a/install.sh +++ b/install.sh @@ -1,11 +1,18 @@ #!/usr/bin/env bash +root=$(pwd) + # install oh-my-zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # symlink dots -ln -sf $(pwd)/.vimrc ~/.vimrc -ln -sf $(pwd)/.zshrc ~/.zshrc +ln -sf $root/.vimrc ~/.vimrc +ln -sf $root/.zshrc ~/.zshrc + +mkdir -p $root/.config +mkdir -p $root/.config/alacritty + +ln -sf $root/.config/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml # global gitignore git config --global core.excludesfile ~/.globalgitignore -- 2.51.2