Initial commit++

This commit is contained in:
swagg boi 2025-03-13 02:44:14 +00:00
parent 8666a7de0d
commit f68af60aa2
3 changed files with 31 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# netbsd_dot_files
Dotfiles. For NetBSD.
The `my_home` represents `$HOME` to keep directory structure for
things that don't use `$HOME/.config`.

25
my_home/.kshrc Normal file
View File

@ -0,0 +1,25 @@
PS1="$USER:!$ "
if [ -x /usr/games/fortune ]; then
echo
/usr/games/fortune
echo
fi
# user specific aliases
alias l='ls -lhF'
alias la='ls -lahF'
alias ..='cd ..'
alias digg='dig +short +noshort'
alias h='echo $HOME'
alias nc='nc -v -z'
alias cdm='cd $HOME/misc'
alias rm='rm -P'
alias p='cat'
alias n='cat -n'
# exports
export EDITOR='mg'
export PATH="$HOME/bin:$PATH"
export HISTFILE="$HOME/.sh_history"
export PKG_PATH="http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/10.1/All/"

2
my_home/.mg Normal file
View File

@ -0,0 +1,2 @@
column-number-mode
backup-to-home-directory