voidrice/.bashrc
Dr. Amr Osman 729079f422 x250
2019-03-13 05:12:45 +02:00

23 lines
852 B
Bash

#!/bin/bash
# hack to launch bicon if not launched
#if ! [[ "$(ps -p $(ps -p $(echo $$) -o ppid=) -o comm=)" =~ 'bicon'* ]]; then
# bicon.bin
#fi
stty -ixon # Disable ctrl-s and ctrl-q.
shopt -s autocd #Allows you to cd into directory merely by typing the directory name.
HISTSIZE= HISTFILESIZE= # Infinite history.
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]"
[ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" # Load shortcut aliases
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
export GREP_COLOR="1;32"
alias grep='grep --color=auto'
alias lsdla='lsd -la'
alias lsla='ls -la'
alias ulswp='betterlockscreen -u ~/.config/wall.png'
alias dmenu='rofi -dmenu'