wpcarro.roam.googlers.com -> wpcarro

Until I change my hostname, I'll need to use wpcarro. Internally on
Google networks, this laptop is resolvable via wpcarro.roam.*

Idea: consider defining in ~/.profile:

DESKTOP_NAME=<name>
LAPTOP_NAME=<name>
CLOUDTOP_NAME=<name>

...and then refer to these environment variables throughout my
configuration that depends on them. E.g. -

  - configs/install
  - configs/uninstall
  - .zshrc
  - .ssh/config

For now, I'll stick with the path of least resistance.
This commit is contained in:
William Carroll 2019-03-18 15:53:18 +00:00
parent 4ebeeab8c5
commit 61b40b3012
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ case $(hostname) in
wpcarro.lon.corp.google.com) wpcarro.lon.corp.google.com)
(cd "$configs/desktop" && stow --target="$HOME" *);; (cd "$configs/desktop" && stow --target="$HOME" *);;
# laptop # laptop
wpcarro.roam.googlers.com) wpcarro)
(cd "$configs/laptop" && stow --target="$HOME" *);; (cd "$configs/laptop" && stow --target="$HOME" *);;
# cloudtop # cloudtop
wpcarro.c.googlers.com) wpcarro.c.googlers.com)

View file

@ -7,7 +7,7 @@ case $(hostname) in
wpcarro.lon.corp.google.com) wpcarro.lon.corp.google.com)
(cd "$configs/desktop" && stow --delete --target="$HOME" *);; (cd "$configs/desktop" && stow --delete --target="$HOME" *);;
# laptop # laptop
wpcarro.roam.googlers.com) wpcarro)
(cd "$configs/laptop" && stow --delete --target="$HOME" *);; (cd "$configs/laptop" && stow --delete --target="$HOME" *);;
# cloudtop # cloudtop
wpcarro.c.googlers.com) wpcarro.c.googlers.com)