dotfiles/profile
2023-01-17 12:25:23 +02:00

25 lines
647 B
Bash

# The city's finest exports!
export GIT_EDITOR="nvim"
export GPG_TTY=$(tty)
export PATH="$HOME/.local/bin:$PATH"
# Let's set up our personal routes
hostname=$(hostname)
if [ "$hostname" = apsalar ]; then
dir="/mnt/storage/screenshots"
elif [ "$hostname" = hetan ]; then
dir="$HOME/Screenshots"
fi
export SCREENSHOT_DIR="$dir"
# Let's get some private environment vars
source $HOME/.profile.private
# Let's keep $HOME clean
LESSHISTFILE=-
alias ls="ls -h --color=auto"
alias myip="curl https://ifconfig.co"
alias vim="nvim $@"
alias wget="wget --hsts-file $HOME/.cache/wget/hsts"
alias woodpecker="$HOME/.local/bin/woodpecker --log-level=''"