From e322debe58708167863329c3d3c420305b9c64c0 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 19 Aug 2020 17:43:22 +0200 Subject: [PATCH] zsh: Remove hardcoded paths --- home/.zshrc.local | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home/.zshrc.local b/home/.zshrc.local index 2b00a01..be509ce 100644 --- a/home/.zshrc.local +++ b/home/.zshrc.local @@ -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