dotfiles/bashrc
2020-12-29 08:27:05 +02:00

21 lines
670 B
Bash

if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
# Setting up the city's powerlines
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/lib/python3.8/site-packages/powerline/bindings/bash/powerline.sh
# 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 --color=auto"
alias weather='curl wttr.in/?format="%l:+%C,+%t+(feels+like+%f)\n"'