Commit 10d3007
xxwhirlpool
·
2026-01-24 10:51:24 -0500 EST
parent ef5116e
bashrc laptop
1 files changed,
+5,
-4
+5,
-4
| ... | ... | @@ -134,7 +134,8 @@ alias cat="bat --paging=never" | |
| 134 | 134 | alias rced="micro ~/.bashrc && source ~/.bashrc" | |
| 135 | 135 | alias dd="askdd" | |
| 136 | 136 | alias copy="xclip -sel clipboard" | |
| 137 | - | alias calc="python3 -Sq" | |
| 137 | + | alias upperc="tr '[:lower:]' '[:upper:]'" | |
| 138 | + | alias lowerc="tr '[:upper:]' '[:lower:]'" | |
| 138 | 139 | ||
| 139 | 140 | # lazy ass way for me to get my idol mp3s from youtube | |
| 140 | 141 | # usage: ytmp3 url |
| ... | ... | @@ -233,9 +234,9 @@ passgen() { | |
| 233 | 234 | cdmess() { | |
| 234 | 235 | # from this blog post: | |
| 235 | 236 | # https://blog.larah.me/mess-directory/ | |
| 236 | - | today_tmpdir="${TMPDIR-/tmp}/${USER}_mess/$(date +%F)" | |
| 237 | - | mkdir -p "$today_tmpdir" | |
| 238 | - | cd "$(mktemp -d -p "${today_tmpdir}" XXXX)" | |
| 237 | + | today_tmpdir="${TMPDIR-/tmp}/${USER}_mess/$(date +%F)" | |
| 238 | + | mkdir -p "$today_tmpdir" | |
| 239 | + | cd "$(mktemp -d -p "${today_tmpdir}" XXXX)" | |
| 239 | 240 | } | |
| 240 | 241 | ||
| 241 | 242 | # to get quick notifs |