From 1a82c079994592933ef0dd66682da0f8773749b5 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 12 Aug 2024 09:37:57 +0300 Subject: [PATCH] install-on-tails.bash: initial commit --- .gitignore | 1 + install-on-tails.bash | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 9d42ace4..868cbd7a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +~ # All dotfiles .* diff --git a/install-on-tails.bash b/install-on-tails.bash index ca7202f6..d7042f1b 100755 --- a/install-on-tails.bash +++ b/install-on-tails.bash @@ -7,10 +7,10 @@ set +x export DISTROID="$(lsb_release -si)" # Tails persistent directory -export PERSISTDIR="~/Persistent" +export PERSISTDIR="$HOME/Persistent" # This target directory -export SHELL_THINGS_REPO="~/Persistent/src/codeberg.org/Aminda/shell-things" +export SHELL_THINGS_REPO="$HOME/Persistent/src/codeberg.org/Aminda/shell-things" # WARNING! printf "USING THESE FILES IS EVEN MORE DANGEROUS ON TAILS THAN IN GENERAL.\n" @@ -73,17 +73,17 @@ cd # bash ln -nsfv $SHELL_THINGS_REPO/rc/bashrc $PERSISTDIR/dotfiles/.bashrc -ln -nsfv $SHELL_THINGS_REPO/rc/bashrc ~/.bashrc +ln -nsfv $SHELL_THINGS_REPO/rc/bashrc $HOME/.bashrc # zsh ln -nsfv $SHELL_THINGS_REPO/rc/zshrc $PERSISTDIR/dotfiles/.zshrc -ln -nsfv $SHELL_THINGS_REPO/rc/zshrc ~/.zshrc +ln -nsfv $SHELL_THINGS_REPO/rc/zshrc $HOME/.zshrc # tmux ln -nsfv $SHELL_THINGS_REPO/conf/tmux.conf $PERSISTDIR/dotfiles/.tmux.conf -ln -nsfv $SHELL_THINGS_REPO/conf/tmux.conf ~/.tmux.conf +ln -nsfv $SHELL_THINGS_REPO/conf/tmux.conf $HOME/.tmux.conf # git git config --global gpg.ssh.allowedSignersFile $PERSISTDIR/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers ln -nsfv $SHELL_THINGS_REPO/conf/gitconfig $PERSISTDIR/dotfiles/.gitconfig -ln -nsfv $SHELL_THINGS_REPO/conf/gitconfig ~/.gitconfig +ln -nsfv $SHELL_THINGS_REPO/conf/gitconfig $HOME/.gitconfig # Let's go home cd