diff --git a/.bashrc b/.bashrc index 2b936522c2ceb299c14ca038f6a5963cc7a324af..9a77094bf07646c1907b6314c8273ec34b15685e 100644 --- a/.bashrc +++ b/.bashrc @@ -231,10 +231,6 @@ prune_ssh_sockets () { -execdir sh -c 'lsof -t "$1" >/dev/null || rm "$1"' _ {} \; } -rcnc () { - RCLONE_CONFIG_NEXTCLOUD_PASS="$(rclone obscure "$(ph show --field 'Password' 'shore.co.il/LDAP')")" rclone "$@" -} - set_title () { local default_title default_title="$(basename "$PWD")" diff --git a/Makefile b/Makefile index ec2c27884bd71abf9cc4a8c918f0de58b765a834..cf903fb556c1d2eb60a57e033593331284454cd7 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ all: .bashrc.private echo 'export GITLAB_PRIVATE_TOKEN="$$GITLAB_TOKEN"' >> '$@' echo "export GITLAB_REGISTRATION_TOKEN='$$(ph show --field Password 'shore.co.il/GitLab runner registration token')'" >> '$@' echo "export GITHUB_TOKEN='$$(ph show --field 'CLI token' 'Web Sites/GitHub')'" >> '$@' + printf "export RCLONE_CONFIG_NEXTCLOUD_PASS='%s'\n" "$$(rclone obscure "$$(ph show --field 'Password' 'shore.co.il/LDAP')")" >> '$@' all: .ssh/config .ssh/config: $(ssh_configs)