-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashenv
More file actions
33 lines (25 loc) · 896 Bytes
/
bashenv
File metadata and controls
33 lines (25 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# --------------------------------------
# Example .bashenv file
#
export BACKUP_DESTINATION="s2:backup/${HOSTNAME}"
path add ${HOME}/.local/share/venv/bin
path add ${HOME}/.local/share/nvim/bin
path add ${HOME}/.local/share/go/bin
path add ${HOME}/projects/pyki
path add ${HOME}/projects/fog
path add ${HOME}/projects/hussh
path add /usr/libexec
context smol ssh://node21.mac.wales
context wee ssh://node1.mac.wales
context node1 ssh://node1.mac.wales
context node2 ssh://node2.mac.wales
context node3 ssh://node3.mac.wales
function libvirt_uri {
echo "qemu+ssh://${USER}@$1/system?keyfile=${HOME}/.ssh/id_rsa&sshauth=privkey&no_verify=1"
}
hypervisor dwt "$(libvirt_uri dwt.mac.wales)"
hypervisor smol "$(libvirt_uri smol.mac.wales)"
hypervisor wee "$(libvirt_uri wee.mac.wales)"
hypervisor dwt > /dev/null
export CDPATH=~/projects/
export HUSSH_URI="ssh://hussh.mac.wales:5555"