-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc.vimes
More file actions
45 lines (32 loc) · 1.05 KB
/
Copy path.bashrc.vimes
File metadata and controls
45 lines (32 loc) · 1.05 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
#
# .bashrc.vimes.
#
CUSTOM_NODE_CONFIG_FILE=TRUE
logPrint "Processing ~/.bashrc.$(hostname -s)"
export CRI_SOCKET=/run/podman/podman.sock
export DOCKER=podman
export PODS=/pods
export HA="/pods/ha"
export HAL="$HA/home-assistant.log"
export HAC="$HA/configuration.yaml"
export HAA="$HA/automations.yaml"
export HAG="$HA/groups.yaml"
export FRIGATE="$PODS/frigate"
export MQTT="$PODS/mqtt"
export ROOM_ASSISTANT=\$PODS/room-assistant/
export SSH_AGENT_PID="DISABLE"
export REPOS=/root/repos
alias eec="ee $HA/configuration.yaml"
alias eeh="ee $HA/configuration.yaml"
alias eea="ee $HA/automations.yaml"
alias ees="ee $HA/scripts.yaml"
alias eef="ee $FRIGATE/config.yml"
alias zz="zypper"
alias cdhh="cd $HA"
alias halt="Halta"
alias tff="tail -F $HAL | perl -pe 's#state=<.*?>#state=<>#g' | grep --line-buffered -v '.{800,}' "
alias tfh="tail -F $HAL | grep --line-buffered -v '.{800,}' "
alias ccc="cd /etc/containers/systemd"
export ECS="/etc/containers/systemd"
complete -o default -F __start_podman /usr/bin/docker
complete -o default -F __start_podman docker