diff --git a/README.md b/README.md index b1d4563..de441d4 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/my_home/.kshrc b/my_home/.kshrc new file mode 100644 index 0000000..32e9c83 --- /dev/null +++ b/my_home/.kshrc @@ -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/" diff --git a/my_home/.mg b/my_home/.mg new file mode 100644 index 0000000..dc7787e --- /dev/null +++ b/my_home/.mg @@ -0,0 +1,2 @@ +column-number-mode +backup-to-home-directory