.dots/zsh/zprofile

33 lines
878 B
Bash
Executable file

#!/usr/bin/env zsh
# __ _ _
# / _(_) |
# _____ __ _ __ ___ | |_ _| | ___
# |_ / '_ \| '__/ _ \| _| | |/ _ \
# _ / /| |_) | | | (_) | | | | | __/
# (_)___| .__/|_| \___/|_| |_|_|\___|
# | |
# |_|
#
# author: Daniel Sommer <daniel.sommer@velvettear.de>
# license: MIT
# ----- prompt ----- #
export PROMPT="%(!.%F{red}.)%n@%m > %/%(!.#.$) %f"
# ------ general ----- #
export USER="$(whoami)"
export HOST="$(hostname)"
export HOSTNAME="$HOST"
export TMP="/tmp"
export TEMP="/tmp"
export TMPDIR="/tmp"
export EDITOR="nvim"
export VISUAL="nvim"
export PAGER="bat"
# ----- history ----- #
export HISTFILE="$HOME/.zhistory"
export SAVEHIST="10000"
export HISTSIZE="10000"
export HISTTIMEFORMAT="%d.%m.%Y %H:%M:%S"
export HISTCONTROL="ignoredups"