<html><body><div>My .bashrc is the following:</div><div># ~/.bashrc: executed by bash(1) for non-login shells.<br># see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)<br># for examples<br><br># If not running interactively, don't do anything<br>case $- in<br> *i*) ;;<br> *) return;;<br>esac<br><br># don't put duplicate lines or lines starting with space in the history.<br># See bash(1) for more options<br>HISTCONTROL=ignoreboth<br><br># append to the history file, don't overwrite it<br>shopt -s histappend<br><br># for setting history length see HISTSIZE and HISTFILESIZE in bash(1)<br>HISTSIZE=1000<br>HISTFILESIZE=2000<br><br># check the window size after each command and, if necessary,<br># update the values of LINES and COLUMNS.<br>shopt -s checkwinsize<br><br># If set, the pattern "**" used in a pathname expansion context will<br># match all files and zero or more directories and subdirectories.<br>#shopt -s globstar<br><br># make less more friendly for non-text input files, see lesspipe(1)<br>[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"<br><br># set variable identifying the chroot you work in (used in the prompt below)<br>if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then<br> debian_chroot=$(cat /etc/debian_chroot)<br>fi<br><br># set a fancy prompt (non-color, unless we know we "want" color)<br>case "$TERM" in<br> xterm-color) color_prompt=yes;;<br>esac<br><br># uncomment for a colored prompt, if the terminal has the capability; turned<br># off by default to not distract the user: the focus in a terminal window<br># should be on the output of commands, not on the prompt<br>#force_color_prompt=yes<br><br>if [ -n "$force_color_prompt" ]; then<br> if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then<br> # We have color support; assume it's compliant with Ecma-48<br> # (ISO/IEC-6429). (Lack of such support is extremely rare, and such<br> # a case would tend to support setf rather than setaf.)<br> color_prompt=yes<br> else<br> color_prompt=<br> fi<br>fi<br><br>if [ "$color_prompt" = yes ]; then<br> PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '<br>else<br> PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '<br>fi<br>unset color_prompt force_color_prompt<br><br># If this is an xterm set the title to user@host:dir<br>case "$TERM" in<br>xterm*|rxvt*)<br> PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"<br> ;;<br>*)<br> ;;<br>esac<br><br># enable color support of ls and also add handy aliases<br>if [ -x /usr/bin/dircolors ]; then<br> test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"<br> alias ls='ls --color=auto'<br> #alias dir='dir --color=auto'<br> #alias vdir='vdir --color=auto'<br><br> alias grep='grep --color=auto'<br> alias fgrep='fgrep --color=auto'<br> alias egrep='egrep --color=auto'<br>fi<br><br># some more ls aliases<br>alias ll='ls -alF'<br>alias la='ls -A'<br>alias l='ls -CF'<br><br># Add an "alert" alias for long running commands. Use like so:<br># sleep 10; alert<br>alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'<br><br># Alias definitions.<br># You may want to put all your additions into a separate file like<br># ~/.bash_aliases, instead of adding them here directly.<br># See /usr/share/doc/bash-doc/examples in the bash-doc package.<br><br>if [ -f ~/.bash_aliases ]; then<br> . ~/.bash_aliases<br>fi<br><br># enable programmable completion features (you don't need to enable<br># this, if it's already enabled in /etc/bash.bashrc and /etc/profile<br># sources /etc/bash.bashrc).<br>if ! shopt -oq posix; then<br> if [ -f /usr/share/bash-completion/bash_completion ]; then<br> . /usr/share/bash-completion/bash_completion<br> elif [ -f /etc/bash_completion ]; then<br> . /etc/bash_completion<br> fi<br>fi<br><br>export PATH=/Home/Downloads/swift/usr/bin:"${PATH}"<br></div></body></html>