dotfiles/home/zprofile

19 lines
281 B
Text
Raw Normal View History

2024-01-06 17:42:37 +01:00
# Fastfetch
fastfetch
2023-06-04 16:24:58 +02:00
# 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
# Start Hyprland if the tty is 1
if [ "$(tty)" = /dev/tty1 ]; then
exec Hyprland
fi