dotfiles/bashrc

15 lines
461 B
Bash
Raw Normal View History

2020-06-28 05:19:59 +03:00
if [[ $- != *i* ]] ; then
2020-11-24 15:17:50 +02:00
# Shell is non-interactive. Be done now!
2020-06-28 05:19:59 +03:00
return
fi
2020-11-24 15:17:50 +02:00
# The city's finest exports!
2020-07-01 10:42:16 +03:00
export GIT_EDITOR="vim"
export PATH="$PATH:$HOME/.local/bin"
2020-11-24 15:17:50 +02:00
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
2020-07-01 10:42:16 +03:00
export VIMINIT="source $HOME/.config/vim/vimrc"
2020-07-16 08:34:06 +03:00
alias ls="ls -h --color=auto"
alias myip="curl https://ifconfig.co"