1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/home/zprofile
2023-06-04 16:24:58 +02:00

24 lines
366 B
Bash

# 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/minecraft/servers/bin
# Fastfetch
fastfetch
# Start Hyprland if the tty is 1
if [ "$(tty)" = /dev/tty1 ]; then
exec Hyprland
else
true
fi