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
3535 config/.local/bin/quote
3636 config/.local/bin/quoterandom
3737 config/.config/plexclip/config.toml
38+config/.local/bin/discord_timest
+11, -15
......@@ -1,7 +1,4 @@
11 #!/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
52
63 ######################################
74 # default stuff i'm scared to change
......@@ -69,15 +66,7 @@ esac
6966 if [ -x /usr/bin/dircolors ]; then
7067 test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
7168 alias ls='ls --color=auto'
72-
7369 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
8170 fi
8271
8372 # enable programmable completion features
......@@ -93,8 +82,7 @@ fi
9382 # aliases
9483 ######################################
9584
96-# general
97-alias nano=micro
85+# general/misc
9886 alias fd="fdfind"
9987 alias neofetch="hyfetch"
10088 alias fastfetch="hyfetch"
......@@ -112,7 +100,9 @@ alias ffmpeg="ffmpeg -hide_banner"
112100 alias open="xdg-open"
113101 alias c="clear"
114102 alias unfuckwifi="sudo systemctl restart NetworkManager"
115-
103+alias updupgr="sudo apt update && sudo apt upgrade"
104+alias winek="wineserver -k"
105+
116106 # weather stuff
117107 alias wttr="curl https://wttr.in/nyc?F0ASu"
118108 alias weather=wttr
......@@ -132,7 +122,6 @@ alias pusheu="git push bytes main && cd /home/kat/Documents/Git/-mine/eunoia-ast
132122 # dev
133123 alias irb="rv run irb"
134124 alias ipy="python3 -i"
135-alias iphp="php -a"
136125
137126 # vpn split tunnel aliases based on a small script @ ~/.local/bin/mvpn
138127 alias mftp="mvpn filezilla"
......@@ -242,6 +231,13 @@ mkcd() {
242231 mkdir -p "$@" && cd "$_" || exit 1;
243232 }
244233
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+
245241 ######################################
246242 # misc
247243 ######################################
+1, -0
......@@ -6,5 +6,6 @@ HTML="$HOME/Scripts/pandoc/md2html.html"
66 if [[ -f "$FILE" ]]; then
77 pandoc --standalone "$FILE" --template="$HTML" --no-highlight --wrap=none -o "${FILE%.*}.html"
88 else
9+ echo "something went wrong"
910 exit 1
1011 fi