From 82a8c6e97f0b2ecca9ced19aa45cf5cffeb5dc2a Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 4 Nov 2022 23:07:20 +0200 Subject: [PATCH] Small fix to the cdtemp shell alias. Not sure why, but with a newer Bash the old alias doesn't work properly. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 4a4ab58..eaa07cb 100644 --- a/.bashrc +++ b/.bashrc @@ -82,7 +82,7 @@ alias black='black --line-length 79' alias blue="printf '\e[1;94m%s\e[0m\n'" alias bold="printf '\e[1m%s\e[0m\n'" alias cadvisor='docker run --rm --volume=/:/rootfs:ro --volume=/var/run:/var/run:rw --volume=/sys:/sys:ro --volume=/var/lib/docker/:/var/lib/docker:ro --volume=/dev/disk/:/dev/disk:ro --publish=8080:8080 --detach=true --name=cadvisor google/cadvisor:latest' -alias cdtemp='cd $(mktemp -d)' +alias cdtemp='cd "$(mktemp -d)"' alias check_tcp='nc -vzw10' alias check_unix='nc -Uvzw3' alias clean-swp="find \$HOME/ -name '*.swp' -delete" -- GitLab