dotfiles/profile

26 lines
674 B
Bash

# The city's finest exports!
export GIT_EDITOR="vim"
export GPG_TTY=$(tty)
export PATH="$HOME/.local/bin:$PATH"
export VIMINIT="source $HOME/.config/vim/vimrc"
# 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 wget="wget --hsts-file $HOME/.cache/wget/hsts"
alias woodpecker="$HOME/.local/bin/woodpecker --log-level=''"