dotfiles/bashrc
2021-04-09 09:00:38 +03:00

15 lines
461 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 myip="curl https://ifconfig.co"