-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc.vimes
40 lines (28 loc) · 936 Bytes
/
.bashrc.vimes
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
#
# .bashrc.vimes.
#
logPrint "Processing ~/.bashrc.$(hostname -s)"
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/
## Not used anymore
#export MOTION_IN=/var/lib/unifi-video/logs/motion.log;
#export MOTION_OUT=/var/lib/ha/camera_motion.log
export SSH_AGENT_PID="DISABLE"
export REPOS=/root/repos
alias eec="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"
#gr\ep -v "[matplotlib] loaded modules"
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,}' "