Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Aliases for common functions. #107

Merged
merged 1 commit into from
Feb 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions package/home/homeassistant/.bash_aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alias hacheckconf='source /srv/homeassistant/bin/activate;hass --script check_config'
alias hapyshell='source /srv/homeassistant/bin/activate;cd ~/.homeassistant'
6 changes: 6 additions & 0 deletions package/home/pi/.bash_aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
alias hashell='sudo su -s /bin/bash homeassistant'
alias harestart='sudo systemctl restart [email protected]'
alias hastop='sudo systemctl stop [email protected]'
alias hastart='sudo systemctl start [email protected]'
alias hastatus='sudo systemctl status [email protected]'