diff options
Diffstat (limited to '.shenanigans.sh')
| -rwxr-xr-x | .shenanigans.sh | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh index 7b9cdeb..be3e7d3 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh | |||
| @@ -32,13 +32,13 @@ if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then | |||
| 32 | alias ..='cd ..' | 32 | alias ..='cd ..' |
| 33 | alias gg='lazygit' | 33 | alias gg='lazygit' |
| 34 | alias less='less -R' | 34 | alias less='less -R' |
| 35 | alias tmux='tmux -u' | 35 | alias tmux='tmux -T 256 -u' |
| 36 | alias server='python3 -m http.server 6969' | 36 | alias server='python3 -m http.server 6969' |
| 37 | alias newsboat='newsboat -r -u ~/.feeds.txt' | 37 | alias newsboat='newsboat -r -u ~/.feeds.txt' |
| 38 | alias n='cd ~/Notes && vim toc.txt' | ||
| 38 | 39 | ||
| 39 | # Custom folder jump commands. | 40 | # Custom folder jump commands. |
| 40 | alias j='cd ~/Junk' | 41 | alias j='cd ~/Junk' |
| 41 | alias n='cd ~/Notes' | ||
| 42 | alias p='cd ~/Projects' | 42 | alias p='cd ~/Projects' |
| 43 | alias d='cd ~/Downloads' | 43 | alias d='cd ~/Downloads' |
| 44 | 44 | ||
| @@ -56,6 +56,7 @@ if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then | |||
| 56 | 56 | ||
| 57 | # Custom paths. | 57 | # Custom paths. |
| 58 | export PATH="$PATH:$HOME/.local/bin" | 58 | export PATH="$PATH:$HOME/.local/bin" |
| 59 | export PATH="$PATH:$HOME/.cargo/bin" | ||
| 59 | export PATH="$PATH:$HOME/go/bin" | 60 | export PATH="$PATH:$HOME/go/bin" |
| 60 | export PATH="$PATH:$HOME/Applications" | 61 | export PATH="$PATH:$HOME/Applications" |
| 61 | export PATH="$PATH:$HOME/Applications/odin-linux-amd64-nightly+2025-12-04/" | 62 | export PATH="$PATH:$HOME/Applications/odin-linux-amd64-nightly+2025-12-04/" |
| @@ -69,6 +70,7 @@ backup() { | |||
| 69 | "ssh.zip $HOME/.ssh" | 70 | "ssh.zip $HOME/.ssh" |
| 70 | "bash_history_infinite.zip $HOME/.bash_history_infinite" | 71 | "bash_history_infinite.zip $HOME/.bash_history_infinite" |
| 71 | "projects.zip $HOME/Projects" | 72 | "projects.zip $HOME/Projects" |
| 73 | "notes.zip $HOME/Notes" | ||
| 72 | "twow.zip $HOME/Games/turtlewow/WTF $HOME/Games/turtlewow/wow.sh" | 74 | "twow.zip $HOME/Games/turtlewow/WTF $HOME/Games/turtlewow/wow.sh" |
| 73 | ) | 75 | ) |
| 74 | 76 | ||
| @@ -90,7 +92,9 @@ slugify() { | |||
| 90 | } | 92 | } |
| 91 | 93 | ||
| 92 | worldclocks() { | 94 | worldclocks() { |
| 93 | echo -e "Brisbane: \t$(TZ='Australia/Brisbane' date +'%a %H:%M')" | 95 | printf "%-18s %s\n" "Local:" "$(TZ='Europe/Ljubljana' date +'%a %H:%M')" |
| 94 | echo -e "San Francisco: \t$(TZ='America/Los_Angeles' date +'%a %H:%M')" | 96 | printf "%-18s %s\n" "Brisbane:" "$(TZ='Australia/Brisbane' date +'%a %H:%M')" |
| 95 | echo -e "New York: \t$(TZ='America/New_York' date +'%a %H:%M')" | 97 | printf "%-18s %s\n" "San Francisco:" "$(TZ='America/Los_Angeles' date +'%a %H:%M')" |
| 98 | printf "%-18s %s\n" "New York:" "$(TZ='America/New_York' date +'%a %H:%M')" | ||
| 99 | |||
| 96 | } | 100 | } |
