aboutsummaryrefslogtreecommitdiff
path: root/TMV/.bashrc
blob: ed47e6282215d6cc0779a2ebfb0f191bb8aeb0ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 0)\]\t \[$(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/aliasrc" ] && source "$HOME/.config/aliasrc"

# append to the history instead of overwriting (good for multiple connections)
shopt -s histappend

# ignore duplicate commands, ignore commands starting with a space
export HISTCONTROL=erasedups

#reminder of what to do
cat /home/mas/TODO.leny

[ -f /etc/bash.command-not-found ] && . /etc/bash.command-not-found