2020-09-18 08:13:06 -06:00
|
|
|
GOT_AUTHOR="Aaron Bieber <aaron@bolddaemon.com>"
|
|
|
|
BROWSER=$(which xdg-open 2>/dev/null)
|
2020-08-17 14:27:42 -06:00
|
|
|
OHMYKSH_DIR=/home/qbit/src/ohmyksh
|
2020-09-18 08:13:06 -06:00
|
|
|
|
|
|
|
export GOT_AUTHOR BROWSER OHMYKSH_DIR
|
|
|
|
|
2020-08-17 14:27:42 -06:00
|
|
|
. ${OHMYKSH_DIR}/ohmy.ksh
|
|
|
|
|
|
|
|
set -A my_paths -- \
|
|
|
|
/usr/ports/infrastructure/bin \
|
|
|
|
~/bin \
|
|
|
|
~/go/bin \
|
|
|
|
/usr/local/plan9/bin
|
|
|
|
|
|
|
|
paths "${my_paths[@]}"
|
|
|
|
|
|
|
|
load_extension fonts
|
2020-09-14 08:14:44 -06:00
|
|
|
load_extension fzf
|
2020-08-17 14:27:42 -06:00
|
|
|
load_extension k
|
|
|
|
load_extension nocolor
|
|
|
|
load_extension openbsd
|
2020-08-25 07:52:56 -06:00
|
|
|
load_extension pkgup
|
2020-08-17 14:27:42 -06:00
|
|
|
|
|
|
|
load_completion ssh
|
2020-09-14 08:14:44 -06:00
|
|
|
pgrep -q vmd && load_completion vmd
|
2020-08-17 14:27:42 -06:00
|
|
|
load_completion rc
|
2020-09-14 08:14:44 -06:00
|
|
|
[ -d ~/.password-store ] && load_completion gopass
|
2020-08-17 14:27:42 -06:00
|
|
|
load_completion git
|
2020-08-20 14:47:51 -06:00
|
|
|
load_completion got
|
2020-09-14 08:14:44 -06:00
|
|
|
pgrep -q mpd && load_completion mpc
|
2020-08-17 14:27:42 -06:00
|
|
|
|
|
|
|
alias dotconf='/usr/local/bin/git --git-dir=$HOME/.dotconf --work-tree=$HOME'
|
2020-08-17 14:49:13 -06:00
|
|
|
alias mutt='stty discard undef; neomutt'
|
|
|
|
alias tmux="tmux -u2"
|
|
|
|
alias vi=vim
|
2020-08-20 14:47:51 -06:00
|
|
|
alias got='env EDITOR=vim got'
|
2020-08-17 14:27:42 -06:00
|
|
|
|
|
|
|
# the q prompt auto-loads the git-prompt extension
|
|
|
|
set_prompt q
|
2020-09-14 08:14:44 -06:00
|
|
|
|
|
|
|
[ -x ~/.po ] && . ~/.po
|