#!/bin/sh # my weird export file # time and date inside history list export HISTTIMEFORMAT="%d/%m/%y %T " # colors inside less pager export LESS_TERMCAP_mb=$'\E[01;31m' export LESS_TERMCAP_md=$'\E[01;31m' export LESS_TERMCAP_me=$'\E[0m' export LESS_TERMCAP_se=$'\E[0m' export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_ue=$'\E[0m' export LESS_TERMCAP_us=$'\E[01;32m' #export PAGER='less' # colors inside your manpages #export MANPAGER="/usr/bin/most -s" # personal bin directory export PATH=$PATH:"$HOME/bin" # pip wont download the same file twice export PIP_DOWNLOAD_CACHE=$HOME/.pip_download_cache # Use less command as a pager #export PAGER=less # history? export HISTSIZE=10000 # history size export HISTFILESIZE=${HISTSIZE} export HISTIGNORE="ls:cd:[bf]g:exit" # ignore lines w/ ls, cd, ... export HISTCONTROL="ignoreboth" # ignore doublons and commands beginning by space # HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups # for git to show me if modified files and if untracked files export GIT_PS1_SHOWDIRTYSTATE=true export GIT_PS1_SHOWUNTRACKEDFILES=true export GIT_PS1_SHOWSTASHSTATE=true # You can further control behaviour by setting GIT_PS1_SHOWUPSTREAM to a space-separated export GIT_PS1_SHOWUPSTREAM="auto, verbose, legacy, git" # auto, verbose, legacy, git export PATH=$PATH:$HOME/bin