forked from dea/dea-files
17 lines
468 B
Bash
17 lines
468 B
Bash
eval "$(starship init bash)"
|
|
|
|
alias eep='systemctl suspend'
|
|
alias hibernate='systemctl hybrid-sleep'
|
|
alias restart='systemctl reboot'
|
|
alias shutdown='systemctl poweroff'
|
|
alias vim='dvim'
|
|
alias nvim='dvim'
|
|
rebuild() {
|
|
if [ -z "$1" ]
|
|
then
|
|
sudo nixos-rebuild switch --flake ~/dea-files#"$(hostname)"
|
|
else
|
|
sudo nixos-rebuild switch --flake ~/dea-files#"$1"
|
|
fi
|
|
}
|
|
[ -f "/home/dea/.ghcup/env" ] && . "/home/dea/.ghcup/env" # ghcup-env
|