Update 2023-01-21 12:25 OpenBSD/amd64
This commit is contained in:
parent
5b3a94487b
commit
e40930890a
14
.bin/c
14
.bin/c
@ -1,11 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -z "$@" ]
|
||||
then
|
||||
EXTRA="--query $@"
|
||||
fi
|
||||
[ ! -z "$@" ] \
|
||||
&& EXTRA="--query $@"
|
||||
|
||||
F=$(find $HOME/.config/* \
|
||||
export FZF_DEFAULT_COMMAND='find $HOME/.config/* \
|
||||
$HOME/.* \
|
||||
-maxdepth 1 \
|
||||
-type f \
|
||||
@ -19,7 +17,7 @@ F=$(find $HOME/.config/* \
|
||||
-o -name ".Xdefaults" \
|
||||
-o -name ".ini" \
|
||||
-o -name "config" \
|
||||
\) | sort -u \
|
||||
| fzf -e +s $EXTRA --preview='cat {}' );
|
||||
[ -z "$F" ] || vim "$F";
|
||||
\)'
|
||||
|
||||
fzf -e +s $EXTRA --preview='cat {}'
|
||||
[ -z "$F" ] || vim "$F";
|
||||
|
6
.kshrc
6
.kshrc
@ -132,10 +132,12 @@ alias spectrwmrc="vim ~/.config/spectrwm/spectrwm.conf"
|
||||
alias rem="remind -c+cl3 ~/.reminders"
|
||||
|
||||
# mastodon
|
||||
toot-sh() { toot $1 -u sh@bsd.network $2; }
|
||||
toot-uug() { toot $1 -u uugrn@chaos.social $2; }
|
||||
toot-sh() { toot $@ -u sh@bsd.network; }
|
||||
toot-uug() { toot $@ -u uugrn@chaos.social; }
|
||||
alias toot-sh-post="toot post -u sh@bsd.network -e vim"
|
||||
alias toot-uug-post="toot post -u uugrn@chaos.social -e vim"
|
||||
alias toot-sh-reply="toot post -r $1 -u sh@bsd.network -e vim"
|
||||
alias toot-uug-reply="toot post -r $1 -u uugrn@chaos.social -e vim"
|
||||
|
||||
# mupdf
|
||||
alias mupdf="mupdf-gl -XJ"
|
||||
|
Loading…
Reference in New Issue
Block a user