Skip to content
Snippets Groups Projects
Commit 82a8c6e9 authored by nimrod's avatar nimrod
Browse files

Small fix to the cdtemp shell alias.

Not sure why, but with a newer Bash the old alias doesn't work properly.
parent 879632a8
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ alias black='black --line-length 79' ...@@ -82,7 +82,7 @@ alias black='black --line-length 79'
alias blue="printf '\e[1;94m%s\e[0m\n'" alias blue="printf '\e[1;94m%s\e[0m\n'"
alias bold="printf '\e[1m%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 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_tcp='nc -vzw10'
alias check_unix='nc -Uvzw3' alias check_unix='nc -Uvzw3'
alias clean-swp="find \$HOME/ -name '*.swp' -delete" alias clean-swp="find \$HOME/ -name '*.swp' -delete"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment