zsh: Remove hardcoded paths
This commit is contained in:
parent
4cc286ad92
commit
e322debe58
|
@ -179,7 +179,7 @@ function audacious-hack() (
|
|||
audtool playlist-clear
|
||||
IFS=$'\n'
|
||||
for dir in $@; do
|
||||
/bin/ls -1 $dir/**/*.(flac|m4a|mp3|ogg|opus)(@)
|
||||
command ls -1 $dir/**/*.(flac|m4a|mp3|ogg|opus)(@)
|
||||
done|sort -Vd|tr '\n' '\0'|xargs -0 -- audacious --enqueue
|
||||
audacious --play
|
||||
)
|
||||
|
@ -230,17 +230,17 @@ function drone-add-s3() {
|
|||
function drone() (
|
||||
export DRONE_SERVER="$(pass-field sbruder.de/drone Server)"
|
||||
export DRONE_TOKEN="$(pass sbruder.de/drone|head -n 1)"
|
||||
~/bin/drone $@
|
||||
command drone $@
|
||||
)
|
||||
|
||||
function docker-ls() (
|
||||
export DOCKER_LS_PASSWORD="$(pass sbruder.de/account|head -n 1)"
|
||||
~/bin/docker-ls $@
|
||||
command docker-ls $@
|
||||
)
|
||||
|
||||
function docker-rm() (
|
||||
export DOCKER_LS_PASSWORD="$(pass sbruder.de/account|head -n 1)"
|
||||
~/bin/docker-rm $@
|
||||
command docker-rm $@
|
||||
)
|
||||
|
||||
## lexicon
|
||||
|
|
Reference in a new issue