Last active
February 8, 2021 19:00
-
-
Save 0x00009b/027fcc8a231f5ebc51841af84e7ad165 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# enp's epic .bashrc file | |
#it's open source duh | |
# {{{ History | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# don't overwrite GNU Midnight Commander's setting of `ignorespace'. | |
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups | |
# ... or force ignoredups and ignorespace | |
export HISTCONTROL=ignoreboth | |
# append to the history file, don't overwrite it | |
shopt -s histappend | |
shopt -s checkwinsize | |
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" | |
export LC_ALL=C | |
export PS1="\[$(tput bold)\]\[$(tput setaf 6)\][\[$(tput setaf 4)\]\u\[$(tput setaf 6)\]@\[$(tput setaf 4)\]\h\[$(tput setaf 4)\] \w\[$(tput setaf 6)\]]\\$\[$(tput sgr0)\]\[$(tput sgr0)\]" | |
alias ls="ls --color" | |
alias ll="ls --color -lh" | |
alias la="ls --color -a" | |
alias dir='dir --color=auto' | |
alias vdir='vdir --color=auto' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
alias cls="clear" | |
if [ -f ~/.bash_aliases ]; then | |
. ~/.bash_aliases | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment