# Add tab completion for many Bash commands
-
[ -f /etc/bash_completion ] && . /etc/bash_completion
-[ -f "${HOME}/.cache/bash/git-completion.bash" ] && . "${HOME}/.cache/bash/git-completion.bash"
-
# Enable tab completion for `g` by marking it as an alias for `git`
if type _git &> /dev/null; then
complete -o default -o nospace -F _git g;
-# Colors
+# Color terminal
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM='gnome-256color';
elif infocmp xterm-256color >/dev/null 2>&1; then
# Git completion and prompt
source "/usr/share/git/completion/git-completion.bash"
source "/usr/share/git/completion/git-prompt.sh"
-
export GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWCOLORHINTS=true
export GIT_PS1_UNTRACKEDFILES=true
-
export PS1="\u@\h:\w (\[\e[32m\]${__git_ps1_branch_name}\[\e[0m\])\$"
export PROMPT_COMMAND="__git_ps1 '\u@\h:\w' '\\$ '"
# Whenever displaying the prompt, write the previous line to disk
export PROMPT_COMMAND="$PROMPT_COMMAND; history -a"
-
-export USERNAME=$LOGNAME
-export HOSTNAME=`hostname`
-#echo Welcome $USERNAME. You are on Server: $HOSTNAME !!!
-
# Add keys for github and bitbucket
#if [ ! -S $HOME/.ssh/ssh_auth_sock ]; then
# eval `ssh-agent`
. ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
export XDG_DESKTOP_DIR XDG_DOWNLOAD_DIR XDG_TEMPLATES_DIR XDG_PUBLICSHARE_DIR XDG_DOCUMENTS_DIR XDG_MUSIC_DIR XDG_PICTURES_DIR XDG_VIDEOS_DIR
fi
+
+export USERNAME=$LOGNAME
+export HOSTNAME=`hostname`
+echo Welcome $USERNAME. You are on Server: $HOSTNAME !!!
+++ /dev/null
-#!/bin/bash
-
-# Colors
-if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
- export TERM='gnome-256color';
-elif infocmp xterm-256color >/dev/null 2>&1; then
- export TERM='xterm-256color';
-fi;
-
-
-# Git completion and prompt
-source "/usr/share/git/completion/git-completion.bash"
-source "/usr/share/git/completion/git-prompt.sh"
-
-export GIT_PS1_SHOWDIRTYSTATE=true
-export GIT_PS1_SHOWCOLORHINTS=true
-export GIT_PS1_UNTRACKEDFILES=true
-
-export PS1="\u@\h:\w (\[\e[32m\]${__git_ps1_branch_name}\[\e[0m\])\$"
-export PROMPT_COMMAND="__git_ps1 '\u@\h:\w' '\\$ '"
-
-# Larger bash history
-export HISTFILESIZE=10000;
-export HISTSIZE=5000;
-export HISTCONTROL=ignoreboth:erasedups
-export HISTIGNORE="ll:ls:cd:cd -:pwd:exit:date:* --help";
-
-# Whenever displaying the prompt, write the previous line to disk
-export PROMPT_COMMAND="$PROMPT_COMMAND; history -a"
-
-# When the shell exits, append to the history file instead of overwriting it
-shopt -s histappend
+++ /dev/null
-[[ "$OSTYPE" == *darwin* ]] && return;
-
-echo -ne '\eP\e]10;#839496\a' # Foreground -> base0
-echo -ne '\eP\e]11;#002B36\a' # Background -> base03
-
-echo -ne '\eP\e]12;#DC322F\a' # Cursor -> red
-
-echo -ne '\eP\e]4;0;#073642\a' # black -> Base02
-echo -ne '\eP\e]4;8;#002B36\a' # bold black -> Base03
-echo -ne '\eP\e]4;1;#DC322F\a' # red -> red
-echo -ne '\eP\e]4;9;#CB4B16\a' # bold red -> orange
-echo -ne '\eP\e]4;2;#859900\a' # green -> green
-echo -ne '\eP\e]4;10;#586E75\a' # bold green -> base01 *
-echo -ne '\eP\e]4;3;#B58900\a' # yellow -> yellow
-echo -ne '\eP\e]4;11;#657B83\a' # bold yellow -> base00 *
-echo -ne '\eP\e]4;4;#268BD2\a' # blue -> blue
-echo -ne '\eP\e]4;12;#839496\a' # bold blue -> base0 *
-echo -ne '\eP\e]4;5;#D33682\a' # magenta -> magenta
-echo -ne '\eP\e]4;13;#6C71C4\a' # bold magenta -> violet
-echo -ne '\eP\e]4;6;#2AA198\a' # cyan -> cyan
-echo -ne '\eP\e]4;14;#93A1A1\a' # bold cyan -> base1 *
-echo -ne '\eP\e]4;7;#EEE8D5\a' # white -> Base2
-echo -ne '\eP\e]4;15;#FDF6E3\a' # bold white -> Base3