This commit is contained in:
2024-02-27 02:25:37 +01:00
parent 67a44a5ff8
commit 6d92c68425
14 changed files with 265 additions and 89 deletions

View File

@ -33,7 +33,7 @@ WORDCHARS=${WORDCHARS//[\/]}
export ZIM_HOME=$HOME/.zim
export MPD_HOST=fsi-hase.fsmi.uni-karlsruhe.de
# export MPD_HOST=fsi-hase.fsmi.uni-karlsruhe.de
# --------------------
@ -239,5 +239,16 @@ function ghcd() {
gh repo clone "$repo" "$repo_path" \
&& pushd "$repo_path"
}
function mpc() {
if [ "$1" = "searchinsert" ]; then
shift
SEARCH=$(mpc search "$@" | head -n1)
command mpc insert "${SEARCH}"
else
command mpc $@
fi
}
# zprof