This commit is contained in:
swagg boi 2025-03-23 21:16:28 -04:00
commit 29797ec96d
4 changed files with 15 additions and 16 deletions

View File

@ -10,8 +10,3 @@ things that don't use `$HOME/.config`.
`my_usr` represents `/usr`
etc.
## TODO
- Login shell check to do fortune output (breaks `rsync`)
- Make `mg` stop leaving those damn tilde files

View File

@ -1,12 +1,7 @@
# TODO: Allow in ICMP(v6) by message type
# TODO: Rate-limit ssh
# ICMP(v6)
alg "icmp"
group "services" in on vioif0 {
pass stateful proto tcp to any port ssh
}
$services = { mdns, ssh }
group "localhost" in on lo0 {
pass stateful all
@ -16,6 +11,8 @@ group default {
# Default rule
block all
pass stateful in proto { tcp, udp } to any port $services
# Let it goooooo
pass stateful out all
}

View File

@ -118,5 +118,6 @@
(setq js-switch-indent-offset 4)
;; Flycheck
(when (require 'flycheck nil 'noerror)
(add-hook 'after-init-hook #'global-flycheck-mode)
(setq flycheck-perl-include-path '("$HOME/perl5/lib/perl5"))
(setq flycheck-perl-include-path '("$HOME/perl5/lib/perl5")))

View File

@ -2,13 +2,14 @@
# Check login shell first
if [ -t 0 ] && [ -x /usr/games/fortune ]; then
echo
/usr/games/fortune
echo
fi
# user specific aliases
alias l='ls -lhF'
alias la='ls -lahF'
alias l='ls -blhF'
alias la='ls -blahF'
alias ..='cd ..'
alias digg='dig +short +noshort'
alias h='echo $HOME'
@ -19,10 +20,15 @@ alias p='cat'
alias n='cat -n'
# exports
export PS1='$USER:/${PWD#/}:!$ '
export HISTFILE="$HOME/.sh_history"
export PKG_PATH="http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/10.1/All/"
if [ $USER = 'root' ]; then
export PS1='$USER:/${PWD#/}:!# '
else
export PS1='$USER:/${PWD#/}:!$ '
fi
if command -v emacs > /dev/null 2>&1; then
export EDITOR='emacs -nw'
elif command -v mg > /dev/null 2>&1; then