From f3f071df6464c4b67226fe1c6db97c6481f1359a Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 26 Nov 2020 23:12:45 +0200 Subject: [PATCH] Nicer gen-mac alias. The previous one messed up the Vim syntax highlighting. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index d1b1a3a..106e37f 100644 --- a/.bashrc +++ b/.bashrc @@ -80,7 +80,7 @@ alias detectproxy='w3m http://detectportal.firefox.com/success.txt' alias diff='diff --unified' alias dpkglog="grep -v 'status\\|trigproc\\|configure' /var/log/dpkg.log" alias gcc='gcc --std=c99 -Wall -Wextra -Werror -pedantic' -alias gen-mac="hexdump -n5 -e '\"02\" 5/1 \":%02X\" \"\\n\"' /dev/urandom" +alias gen-mac='hexdump -n5 -e '\''"02" 5/1 ":%02X" "\n"'\'' /dev/urandom' alias gen-ssh-config="rc_make .ssh/config" alias hostlocal='docker run --rm --privileged --net=host gliderlabs/hostlocal' alias http-server='python3 -m http.server 8080' -- GitLab