diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-05-01 05:19:12 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-05-01 05:19:12 +0200 |
| commit | 04b9e0a7d3737bbbba8d3ba32d88e4bd1699c030 (patch) | |
| tree | 77ae7ba4d8fec79533d1ae2334cc3152966fc33f /.shenanigans.sh | |
| parent | 25e12595a498a6f7b883aecb6048c908c853085a (diff) | |
| download | dotfiles-04b9e0a7d3737bbbba8d3ba32d88e4bd1699c030.tar.gz | |
Update to dotfiles
Diffstat (limited to '.shenanigans.sh')
| -rwxr-xr-x | .shenanigans.sh | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh index 8bc1c2e..a870c4f 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Software list: | 1 | # Software list: |
| 2 | # git gcc make cmake busybox cifs-utils tree hstr curl | 2 | # git gcc make cmake busybox cifs-utils tree hstr curl |
| 3 | # s3cmd xmlstarlet htop nvtop tmux xclip jq pipx newsboat | 3 | # s3cmd xmlstarlet htop nvtop tmux xclip jq pipx newsboat |
| 4 | # stow rsync entr vim vifm xxd sbcl rlwrap tig | 4 | # stow rsync entr vim vifm xxd sbcl rlwrap tig ack |
| 5 | # clang clang-tidy clang-tools-extra clangd clang-analyzer | 5 | # clang clang-tidy clang-tools-extra clangd clang-analyzer |
| 6 | # Linters & Additonal stuff: | 6 | # Linters & Additonal stuff: |
| 7 | # pipx install pyright | 7 | # pipx install pyright |
| @@ -42,13 +42,17 @@ if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then | |||
| 42 | alias tmux='tmux -u' | 42 | alias tmux='tmux -u' |
| 43 | alias server='python3 -m http.server 6969' | 43 | alias server='python3 -m http.server 6969' |
| 44 | alias newsboat='newsboat -r -u ~/.feeds.txt' | 44 | alias newsboat='newsboat -r -u ~/.feeds.txt' |
| 45 | alias ack='ack -S' | ||
| 45 | alias gg='lazygit' | 46 | alias gg='lazygit' |
| 46 | alias gd='lazydocker' | 47 | alias gd='lazydocker' |
| 48 | alias tf='terraform' | ||
| 49 | alias tg='terragrunt' | ||
| 47 | 50 | ||
| 48 | # Custom folder jump commands. | 51 | # Custom folder jump commands. |
| 49 | alias j='cd ~/Junk' | 52 | alias j='cd ~/Junk' |
| 50 | alias p='cd ~/Vault/projects' | 53 | alias p='cd ~/Vault/projects' |
| 51 | alias s='cd ~/Vault/sandbox' | 54 | alias s='cd ~/Vault/sandbox' |
| 55 | alias n='cd ~/Vault/notes' | ||
| 52 | alias d='cd ~/Downloads' | 56 | alias d='cd ~/Downloads' |
| 53 | 57 | ||
| 54 | # Additional path settings. | 58 | # Additional path settings. |
| @@ -78,17 +82,23 @@ backup() { | |||
| 78 | VHOME=/home/$USER/Vault | 82 | VHOME=/home/$USER/Vault |
| 79 | ME=$(whoami)@$(hostname) | 83 | ME=$(whoami)@$(hostname) |
| 80 | 84 | ||
| 85 | # Create folders etc. | ||
| 86 | cd $VHOME && mkdir -p $VHOME/dotfiles | ||
| 87 | |||
| 81 | # Everything dotfiles. | 88 | # Everything dotfiles. |
| 82 | cd $VHOME && mkdir -p $VHOME/dotfiles && cd $VHOME/dotfiles | 89 | cd $VHOME/dotfiles |
| 83 | rsync -azhv /home/$USER/.bash_history_infinite bash_history_infinite | 90 | rsync -azhv /home/$USER/.bash_history_infinite bash_history_infinite |
| 84 | rsync -azhv /home/$USER/.ssh/ ssh | 91 | rsync -azhv /home/$USER/.ssh/ ssh |
| 85 | rsync -azhv /home/$USER/.aws/ aws | 92 | rsync -azhv /home/$USER/.aws/ aws |
| 86 | 93 | ||
| 87 | # WoW settings and addons. | 94 | # WoW settings and addons. |
| 88 | cd $VHOME | 95 | cd $VHOME/dotfiles |
| 89 | rsync -azhv /home/$USER/Games/turtlewow/WTF turtlewow | 96 | zip -r twow.zip \ |
| 90 | rsync -azhv /home/$USER/Games/turtlewow/SuperWoWhook.dll turtlewow/ | 97 | /home/$USER/Games/turtlewow/WTF \ |
| 91 | rsync -azhv /home/$USER/Games/turtlewow/start.sh turtlewow/ | 98 | /home/$USER/Games/turtlewow/SuperWoWhook.dll \ |
| 99 | /home/$USER/Games/turtlewow/nampower.dll \ | ||
| 100 | /home/$USER/Games/turtlewow/dlls.txt \ | ||
| 101 | /home/$USER/Games/turtlewow/wow.desktop | ||
| 92 | 102 | ||
| 93 | # Sync with NAS. | 103 | # Sync with NAS. |
| 94 | rsync -azhvpog \ | 104 | rsync -azhvpog \ |
