diff --git a/config/zshrc b/config/zshrc index 0595102..b959ed4 100755 --- a/config/zshrc +++ b/config/zshrc @@ -137,8 +137,13 @@ export RUSTUP_HOME="$XDG_DATA_HOME"/rustup export CARGO_HOME="$XDG_DATA_HOME"/cargo -alias dosbox="dosbox -conf "$XDG_CONFIG_HOME"/dosbox/dosbox.conf " +alias dosbox="dosbox -conf $XDG_CONFIG_HOME/dosbox/dosbox.conf" +alias rbs="reconfig switch" +alias rbb="reconfig build" +reconfig() { + sudo nixos-rebuild --flake "/etc/nixos#$(cat /etc/hostname)" "$@" +} # Autostart Hyprland after all environmental Variables have been declared if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then