Commit 8a28b21
xxwhirlpool
·
2026-04-04 15:18:29 -0400 EDT
parent 46c7e7b
misc
3 files changed,
+13,
-15
+1,
-0
| ... | ... | @@ -35,3 +35,4 @@ config/.local/bin/kaomoji.sh | |
| 35 | 35 | config/.local/bin/quote | |
| 36 | 36 | config/.local/bin/quoterandom | |
| 37 | 37 | config/.config/plexclip/config.toml | |
| 38 | + | config/.local/bin/discord_timest |
+11,
-15
| ... | ... | @@ -1,7 +1,4 @@ | |
| 1 | 1 | #!/bin/bash | |
| 2 | - | # ~/.bashrc: executed by bash(1) for non-login shells. | |
| 3 | - | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| 4 | - | # for examples | |
| 5 | 2 | ||
| 6 | 3 | ###################################### | |
| 7 | 4 | # default stuff i'm scared to change |
| ... | ... | @@ -69,15 +66,7 @@ esac | |
| 69 | 66 | if [ -x /usr/bin/dircolors ]; then | |
| 70 | 67 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" | |
| 71 | 68 | alias ls='ls --color=auto' | |
| 72 | - | ||
| 73 | 69 | alias grep='grep --color=auto' | |
| 74 | - | alias fgrep='fgrep --color=auto' | |
| 75 | - | alias egrep='egrep --color=auto' | |
| 76 | - | fi | |
| 77 | - | ||
| 78 | - | # Alias definitions. | |
| 79 | - | if [ -f ~/.bash_aliases ]; then | |
| 80 | - | . ~/.bash_aliases | |
| 81 | 70 | fi | |
| 82 | 71 | ||
| 83 | 72 | # enable programmable completion features |
| ... | ... | @@ -93,8 +82,7 @@ fi | |
| 93 | 82 | # aliases | |
| 94 | 83 | ###################################### | |
| 95 | 84 | ||
| 96 | - | # general | |
| 97 | - | alias nano=micro | |
| 85 | + | # general/misc | |
| 98 | 86 | alias fd="fdfind" | |
| 99 | 87 | alias neofetch="hyfetch" | |
| 100 | 88 | alias fastfetch="hyfetch" |
| ... | ... | @@ -112,7 +100,9 @@ alias ffmpeg="ffmpeg -hide_banner" | |
| 112 | 100 | alias open="xdg-open" | |
| 113 | 101 | alias c="clear" | |
| 114 | 102 | alias unfuckwifi="sudo systemctl restart NetworkManager" | |
| 115 | - | ||
| 103 | + | alias updupgr="sudo apt update && sudo apt upgrade" | |
| 104 | + | alias winek="wineserver -k" | |
| 105 | + | ||
| 116 | 106 | # weather stuff | |
| 117 | 107 | alias wttr="curl https://wttr.in/nyc?F0ASu" | |
| 118 | 108 | alias weather=wttr |
| ... | ... | @@ -132,7 +122,6 @@ alias pusheu="git push bytes main && cd /home/kat/Documents/Git/-mine/eunoia-ast | |
| 132 | 122 | # dev | |
| 133 | 123 | alias irb="rv run irb" | |
| 134 | 124 | alias ipy="python3 -i" | |
| 135 | - | alias iphp="php -a" | |
| 136 | 125 | ||
| 137 | 126 | # vpn split tunnel aliases based on a small script @ ~/.local/bin/mvpn | |
| 138 | 127 | alias mftp="mvpn filezilla" |
| ... | ... | @@ -242,6 +231,13 @@ mkcd() { | |
| 242 | 231 | mkdir -p "$@" && cd "$_" || exit 1; | |
| 243 | 232 | } | |
| 244 | 233 | ||
| 234 | + | # man by default, fall back to `help` | |
| 235 | + | # for shell functions | |
| 236 | + | # https://lobste.rs/s/fkr3ha/some_terminal_frustrations#c_70wike | |
| 237 | + | man() { | |
| 238 | + | /usr/bin/man "$@" || help "$@" | |
| 239 | + | } | |
| 240 | + | ||
| 245 | 241 | ###################################### | |
| 246 | 242 | # misc | |
| 247 | 243 | ###################################### |
+1,
-0