dotfiles

my shiny new dotfiles
git clone git://git.jakekoroman.com/dotfiles
Log | Files | Refs | README

.bashrc (997B)


      1 # /etc/skel/.bashrc
      2 #
      3 # This file is sourced by all *interactive* bash shells on startup,
      4 # including some apparently interactive shells such as scp and rcp
      5 # that can't tolerate any output.  So make sure this doesn't display
      6 # anything or bad things will happen !
      7 
      8 
      9 # Test for an interactive shell.  There is no need to set anything
     10 # past this point for scp and rcp, and it's important to refrain from
     11 # outputting anything in those cases.
     12 if [[ $- != *i* ]] ; then
     13 	# Shell is non-interactive.  Be done now!
     14 	return
     15 fi
     16 
     17 # Put your fun stuff here.
     18 
     19 shopt -s autocd
     20 export HISTCONTROL=ignoreboth:erasedups
     21 export HISTSIZE=2500
     22 export HISTFILESIZE=5000
     23 complete -cf doas
     24 
     25 source $HOME/.bash_aliases
     26 
     27 export PS1='\[\e[92m\]\w\[\e[0m\] \[\e[95m\]>\[\e[0m\] '
     28 #export PS1="${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "
     29 export PATH=$HOME/.local/bin:$HOME/scripts:$PATH
     30 
     31 export EDITOR=nvim
     32 export BROWSER=firefox
     33 export TERM=xterm-256color
     34 
     35 clear