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