dotfiles/bashrc

24 lines
797 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
2021-04-16 12:18:44 +03:00
# Setting up the city's powerlines
if [ -f $HOME/.local/lib/python3.9/site-packages/powerline/bindings/bash/powerline.sh ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. $HOME/.local/lib/python3.9/site-packages/powerline/bindings/bash/powerline.sh
fi
alias ls="ls -h --color=auto"
alias myip="curl https://ifconfig.co"
alias steam="HOME=${HOME}/Games/steam steam"