fixed bash aliases, functions, and bashrc. fixed initify

This commit is contained in:
Austen Adler 2014-05-25 18:16:47 -04:00
parent a115fb30ff
commit d720a4d216
3 changed files with 13 additions and 1 deletions

View File

@ -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"

View File

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

4
bashrc
View File

@ -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).