maybe tmux is back
This commit is contained in:
34
setup
34
setup
@ -1,34 +1,3 @@
|
||||
<<<<<<< HEAD
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "[+] Cloning submodules..."
|
||||
git submodule update --init --recursive
|
||||
|
||||
echo "[+] Creating Gitconfigs..."
|
||||
|
||||
(
|
||||
for config in $PWD/.gitconfig.d/*.gitconfig; do
|
||||
echo "[include]"
|
||||
echo " path = $config"
|
||||
done;
|
||||
) > "$HOME/.gitconfig"
|
||||
|
||||
echo "[+] Creating symlinks..."
|
||||
|
||||
ln -sf "$PWD/.zshrc" "$HOME/.zshrc"
|
||||
ln -sf "$PWD/.p10k.zsh" "$HOME/.p10k.zsh"
|
||||
ln -sf "$PWD/.config" "$HOME/.config"
|
||||
ln -sf "$PWD/.alias.d" "$HOME/.alias.d"
|
||||
ln -sf "$PWD/.profile" "$HOME/.profile"
|
||||
|
||||
if [ ! -f "$PWD/.zshenv" ]; then
|
||||
cp "$PWD/.zshenv.template" "$PWD/.zshenv"
|
||||
fi
|
||||
|
||||
ln -sf "$PWD/.zshenv" "$HOME/.zshenv"
|
||||
=======
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
@ -36,7 +5,7 @@ set -e
|
||||
echo "[+] Cloning submodules..."
|
||||
git submodule update --init --recursive
|
||||
|
||||
find ./config/tmux -type d -name '.git*' -prune -o -type f -print0 | xargs -0 dos2unix
|
||||
find ./config/tmux/plugins -type d -name '.git*' -prune -o -type f -print0 | xargs -0 dos2unix
|
||||
|
||||
echo "[+] Creating Gitconfigs..."
|
||||
|
||||
@ -54,4 +23,3 @@ if [ ! -f "$PWD/.zshenv" ]; then
|
||||
fi
|
||||
|
||||
stow .
|
||||
>>>>>>> ae6c9c8 (add tmux plugins)
|
||||
|
Reference in New Issue
Block a user