# If not running interactively, don't do anything #case $- in # *i*) ;; # *) return;; #esac shopt -s histappend shopt -s globstar shopt -s checkwinsize HISTSIZE=1000 HISTFILESIZE=2000 HISTCONTROL=ignoreboth # colored GCC warnings and errors export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion elif [ -f /etc/bash_completion ]; then . /etc/bash_completion fi fi ####################################### # prompt export PS1=':\[\033[01;34m\]\w\[\033[00m\]\n\$ ' export PS2="> $RS" ####################################### alias lll='ls -AlhF' alias la='ls -A' alias l='ls -CF' ll() { ls -lFh "$@" ; echo $(ls -A "$@" | grep "^\." | wc -l) hidden } lh() { ls -AlFh "$@" | grep " \." } function each() { while read line; do for f in "$@"; do $f $line done done } ####################################### bind '"\e[A"':history-search-backward bind '"\e[B"':history-search-forward bind "TAB:menu-complete" bind 'set completion-ignore-case on' ####################################### export DOTNET_CLI_TELEMETRY_OPTOUT=1 export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" PATH=$PATH:/opt/innovenergy/scripts