diff --git a/bash_aliases b/bash_aliases index acf753e..935b627 100644 --- a/bash_aliases +++ b/bash_aliases @@ -38,5 +38,5 @@ alias update='sudo apt-get update' alias upgrade='sudo apt-get update && sudo apt-get upgrade' alias ..='cl ..' alias ytdl="youtube-dl $@ -x --audio-format mp3 --audio-quality 0 -c -o '%(title)s.%(ext)s'" - alias tux="tmux a||tmux" +alias rmgit="git remote rm origin;git remote rm https" diff --git a/bash_functions b/bash_functions index 51e669f..b179e47 100644 --- a/bash_functions +++ b/bash_functions @@ -18,3 +18,11 @@ extract () { echo "'$1' is not a valid file!" fi } +export -f extract +function initify(){ + git init + git remote add origin git@98.26.78.121:$1/$2.git + git remote add https https://98.26.78.121/gitlab/$1/$2.git + git remote -v +} +export -f initify diff --git a/bashrc b/bashrc index 3628506..bf616b5 100644 --- a/bashrc +++ b/bashrc @@ -102,6 +102,10 @@ if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi +if [ -f ~/.bash_functions ]; then + . ~/.bash_functions +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).