Update 2023-01-21 11:09 OpenBSD/amd64
This commit is contained in:
parent
1017811182
commit
c8a559f581
@ -1,4 +1,5 @@
|
||||
#!/bin/sh -x
|
||||
doas ifconfig trunk1 destroy
|
||||
doas ifconfig trunk0 destroy
|
||||
doas sh /etc/netstart
|
||||
doas rcctl restart resolvd
|
||||
|
11
.kshrc
11
.kshrc
@ -55,10 +55,6 @@ HISTFILE=$HOME/.ksh-history
|
||||
HISTSIZE=2000
|
||||
export HISTCONTROL HISTFILE HISTSIZE
|
||||
|
||||
### CDPATH
|
||||
CDPATH=.:/usr/ports:~/code
|
||||
export CDPATH
|
||||
|
||||
### SOFTWARE PREFERENCES
|
||||
EDITOR="vim"
|
||||
VISUAL="vim"
|
||||
@ -325,6 +321,11 @@ CVSROOT=sdk@cvs.openbsd.org:/cvs
|
||||
alias cvs-diff="cvs -d $CVSROOT diff -uNp"
|
||||
alias cvs-commit="doas cvs -d $CVSROOT commit"
|
||||
alias cvs-update="doas cvs -z 1 -d $CVSROOT -q up -Pd -A"
|
||||
cvs-update-all() {
|
||||
for p in ports src xenocara www; do
|
||||
cd /usr/$p && cvs-update;
|
||||
done
|
||||
}
|
||||
alias cvs-release="cvs -d $CVSROOT release"
|
||||
alias cvs-checkout="doas cvs -z 1 -qd $CVSROOT checkout -P"
|
||||
cvs-import-simulate() {
|
||||
@ -340,7 +341,7 @@ portclean() {(
|
||||
)}
|
||||
pmark() { pwd > /var/cache/pmark; }
|
||||
p() { cd "$(</var/cache/pmark)"; }
|
||||
pj() { cd "$(port jump $1)"; }
|
||||
pj() { cd "/usr/ports/$(portjump $1)"; }
|
||||
po() { cd "$(</var/cache/pmark)" && cd "$(make show=WRKSRC)"; }
|
||||
alias portsweep='doas find . \( -name "*.orig" -or -empty \) -delete'
|
||||
pdiff() {(
|
||||
|
@ -198,9 +198,12 @@ set statusline=%#VisualNOS#
|
||||
set statusline+=%F\ (%{&filetype})
|
||||
set statusline+=%=
|
||||
set statusline+=%m%r%h%w%q
|
||||
set statusline+=\ %{&fileformat}/%{&fileencoding?&fileencoding:&encoding}
|
||||
set statusline+=\ %b/0x%B
|
||||
set statusline+=\ %c\ %p%%
|
||||
set statusline+=\ (%{&fileformat}/%{&fileencoding?&fileencoding:&encoding})
|
||||
set statusline+=\ (%b/0x%B)
|
||||
set statusline+=\ (%{(mode()=='V')?wordcount().visual_words:wordcount().words}w
|
||||
set statusline+=/%{(mode()=='V')?wordcount().visual_chars:wordcount().chars}c)
|
||||
set statusline+=\ (%ly/%cx)
|
||||
set statusline+=\ %p%%
|
||||
set statusline+=\
|
||||
|
||||
" ITALIC FIX
|
||||
|
Loading…
Reference in New Issue
Block a user