dotfiles/bashrc

21 lines
670 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
# 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
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
2020-11-24 15:17:50 +02:00
alias ls="ls --color=auto"
alias weather='curl wttr.in/?format="%l:+%C,+%t+(feels+like+%f)\n"'