1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-23 07:21:58 +01:00
eoli3n-dotfiles/roles/zsh
2019-12-01 16:29:03 +01:00
..
tasks added wired support to polybar 2018-01-14 21:18:08 +01:00
templates added dsscripts.py in cesium path 2018-01-15 04:35:04 +01:00
README.md major update 2019-12-01 16:29:03 +01:00

Deprecated, i use fish

By hostname specific configuration in zshrc

Add a dir named as hostname in by_host dir to include specific host configuration in config file

mkdir templates/by_host/$(hostname)
echo << EOF > templates/by_host/$(hostname)/zshrc.j2
# Alias to include for $(hostname)
alias foo=bar
EOF

By OS specific configuration in zshrc

Add a dir named as hostname in by_host dir to include specific host configuration in config file

mkdir templates/by_os/<archlinux|debian|centos>
echo << EOF > templates/by_os/<archlinux|debian|centos>/zshrc.j2
# Alias to include for <archlinux|debian|centos>
alias foo2=bar2
EOF