Update
This commit is contained in:
13
zsh/.zshrc
13
zsh/.zshrc
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user