Files
nixos/Droidnix/generated/.config/zsh/.zshrc
T
2026-04-14 19:56:28 +02:00

26 lines
732 B
Bash

# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
# Path to syntax highlighting installed by Nix
ZSH_SYNTAX_HIGHLIGHTING="${HOME}/.nix-profile/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
# Load syntax highlighting if available
if [ -f "$ZSH_SYNTAX_HIGHLIGHTING" ]; then
source "$ZSH_SYNTAX_HIGHLIGHTING"
fi
# Initialize Starship prompt
if command -v starship >/dev/null 2>&1; then
eval "$(starship init zsh)"
fi
source /etc/profile.d/99-alias-functions.sh
eval "$(lua /run/current-system/sw/bin/z.lua --init zsh)"
cd() {
if [ "$#" -eq 0 ]; then
builtin cd ~
else
builtin cd "$@" || return
fi
command z "$PWD"
}