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:
parent
4ebeeab8c5
commit
61b40b3012
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ case $(hostname) in
|
|||
wpcarro.lon.corp.google.com)
|
||||
(cd "$configs/desktop" && stow --target="$HOME" *);;
|
||||
# laptop
|
||||
wpcarro.roam.googlers.com)
|
||||
wpcarro)
|
||||
(cd "$configs/laptop" && stow --target="$HOME" *);;
|
||||
# cloudtop
|
||||
wpcarro.c.googlers.com)
|
||||
|
|
|
@ -7,7 +7,7 @@ case $(hostname) in
|
|||
wpcarro.lon.corp.google.com)
|
||||
(cd "$configs/desktop" && stow --delete --target="$HOME" *);;
|
||||
# laptop
|
||||
wpcarro.roam.googlers.com)
|
||||
wpcarro)
|
||||
(cd "$configs/laptop" && stow --delete --target="$HOME" *);;
|
||||
# cloudtop
|
||||
wpcarro.c.googlers.com)
|
||||
|
|
Loading…
Reference in a new issue