23 lines
801 B
Bash
23 lines
801 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"
|
|
|
|
# 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/siina/Games/steam steam"
|