Skip to content

Commit

Permalink
Merge pull request #29 from vroncevic/dev
Browse files Browse the repository at this point in the history
sync
  • Loading branch information
vroncevic committed Mar 9, 2022
2 parents 14104cb + 93bd209 commit a588b36
Show file tree
Hide file tree
Showing 30 changed files with 62 additions and 109 deletions.
2 changes: 1 addition & 1 deletion bash_aliases
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined aliases
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion bash_login
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined embedded functions
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion bash_logout
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined embedded functions
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion bash_profile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief Setup PATH and bash profile
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
83 changes: 16 additions & 67 deletions bashrc
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,120 +1,69 @@
#
# @brief Bash rc
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
#

# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
shopt -s globstar
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
color_prompt=yes
else
color_prompt=
color_prompt=
fi
fi

if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]'
PS1='${debian_chroot:+($debian_chroot)}\u@\h: \W$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
PS1='${debian_chroot:+($debian_chroot)}\u@\h: \W$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="[\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \W\]$PS1]\$ "
PS1='${debian_chroot:+($debian_chroot)}\u@\h: \W$ '
;;
*)
;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
alias ll='ls -l'
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

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$//'\'')"'
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

# 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
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

# setting tab size for bash shell
tabs 4

Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/doctrees/index.doctree
Binary file not shown.
3 changes: 2 additions & 1 deletion docs/build/html/_static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down Expand Up @@ -757,6 +757,7 @@ span.pre {
-ms-hyphens: none;
-webkit-hyphens: none;
hyphens: none;
white-space: nowrap;
}

div[class*="highlight-"] {
Expand Down
5 changes: 4 additions & 1 deletion docs/build/html/_static/doctools.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilities for all documentation.
*
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down Expand Up @@ -264,6 +264,9 @@ var Documentation = {
hideSearchWords : function() {
$('#searchbox .highlight-link').fadeOut(300);
$('span.highlighted').removeClass('highlighted');
var url = new URL(window.location);
url.searchParams.delete('highlight');
window.history.replaceState({}, '', url);
},

/**
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/_static/language_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This script contains the language-specific data used by searchtools.js,
* namely the list of stopwords, stemmer, scorer and splitter.
*
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
34 changes: 17 additions & 17 deletions docs/build/html/_static/pygments.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight { background: #f8f8f8; }
.highlight .c { color: #408080; font-style: italic } /* Comment */
.highlight .c { color: #3D7B7B; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
.highlight .o { color: #666666 } /* Operator */
.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
.highlight .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #9C6500 } /* Comment.Preproc */
.highlight .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
.highlight .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gr { color: #E40000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gi { color: #008400 } /* Generic.Inserted */
.highlight .go { color: #717171 } /* Generic.Output */
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
Expand All @@ -33,15 +33,15 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .kt { color: #B00040 } /* Keyword.Type */
.highlight .m { color: #666666 } /* Literal.Number */
.highlight .s { color: #BA2121 } /* Literal.String */
.highlight .na { color: #7D9029 } /* Name.Attribute */
.highlight .na { color: #687822 } /* Name.Attribute */
.highlight .nb { color: #008000 } /* Name.Builtin */
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.highlight .no { color: #880000 } /* Name.Constant */
.highlight .nd { color: #AA22FF } /* Name.Decorator */
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
.highlight .ni { color: #717171; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0000FF } /* Name.Function */
.highlight .nl { color: #A0A000 } /* Name.Label */
.highlight .nl { color: #767600 } /* Name.Label */
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #19177C } /* Name.Variable */
Expand All @@ -58,11 +58,11 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
.highlight .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
.highlight .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
.highlight .sx { color: #008000 } /* Literal.String.Other */
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
.highlight .sr { color: #A45A77 } /* Literal.String.Regex */
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/_static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilities for the full-text search.
*
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<a href="index.html" class="icon icon-home"> bash_env
</a>
<div class="version">
1.5.4
1.6.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<a href="#" class="icon icon-home"> bash_env
</a>
<div class="version">
1.5.4
1.6.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
Binary file modified docs/build/html/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/html/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<a href="index.html" class="icon icon-home"> bash_env
</a>
<div class="version">
1.5.4
1.6.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="#" method="get">
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
project = u'bash_env'
copyright = u'2020, Vladimir Roncevic <elektron.ronca@gmail.com>'
author = u'Vladimir Roncevic <elektron.ronca@gmail.com>'
version = u'1.5.4'
version = u'1.6.4'
release = u'https://github.com/vroncevic/bash_env/releases'
extensions = []
templates_path = ['_templates']
Expand Down
2 changes: 1 addition & 1 deletion profile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined embedded functions
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion user_defined_doc_functions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined functions for doc env
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion user_defined_embedded_functions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined functions for embedded env
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion user_defined_file_functions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined functions for file operations
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion user_defined_functions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User common defined functions
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion user_defined_git_functions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined functions for git env
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion user_defined_hw_functions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined functions for HW env
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion user_defined_java_functions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined functions for java env
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion user_defined_net_functions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# @brief User defined functions for network env
# @version ver.1.5.4
# @version ver.1.6.4
# @date Sun 13 Feb 2022 10:52:42 AM CET
# @company None, free software to use 2022
# @author Vladimir Roncevic <elektron.ronca@gmail.com>
Expand Down

0 comments on commit a588b36

Please sign in to comment.