dotfiles/bashrc

15 lines
502 B
Bash

if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
# The city's finest exports!
export GIT_EDITOR="vim"
export PATH="$PATH:$HOME/.local/bin"
export PS1="\[$(tput setaf 2)\]\u@\h\[$(tput setaf 4)\] \w\[$(tput sgr0)\] \\$ "
export TERM=xterm-color # Fixes ssh since I use alacritty and it sets the TERM to its name
export VIMINIT="source $HOME/.config/vim/vimrc"
alias ls="ls -h --color=auto"
alias weather='curl wttr.in/?format="%l:+%C,+%t+(feels+like+%f)+Wind:+%w&M"\n'