diff --git a/.bashrc b/.bashrc deleted file mode 120000 index 87d2103..0000000 --- a/.bashrc +++ /dev/null @@ -1 +0,0 @@ -.linux/bash/bashrc.sh \ No newline at end of file diff --git a/.bashrc b/.bashrc new file mode 100755 index 0000000..205cce6 --- /dev/null +++ b/.bashrc @@ -0,0 +1,18 @@ +#!/bin/bash + +#home="/var/home/voronind" +home="${HOME}" +module="${home}/.linux/bash/module/*.sh" + +# src default +if [[ -f /etc/bashrc ]]; then + source /etc/bashrc +fi + +# src custom +for file in ${module}; do + source "${file}" +done + +# alias to reload +alias bashrc="source ~/.bashrc" diff --git a/.linux/bash/bashrc.sh b/.linux/bash/bashrc.sh deleted file mode 100755 index 205cce6..0000000 --- a/.linux/bash/bashrc.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -#home="/var/home/voronind" -home="${HOME}" -module="${home}/.linux/bash/module/*.sh" - -# src default -if [[ -f /etc/bashrc ]]; then - source /etc/bashrc -fi - -# src custom -for file in ${module}; do - source "${file}" -done - -# alias to reload -alias bashrc="source ~/.bashrc"