dotfiles/home/zprofile

25 lines
353 B
Text
Raw Normal View History

2023-06-04 16:24:58 +02:00
# Lines added by ahurac
# Prepenth the local bin directory to the path array
typeset -U path PATH
addpath() {
if [ -d "$1" ]; then
path=("$1" $path)
fi
}
addpath ~/.local/bin
addpath ~/.local/share/qemu/bin
2023-06-04 16:24:58 +02:00
# Fastfetch
fastfetch
# Start Hyprland if the tty is 1
if [ "$(tty)" = /dev/tty1 ]; then
exec Hyprland
else
true
fi