fixed bash aliases, functions, and bashrc. fixed initify
This commit is contained in:
parent
a115fb30ff
commit
d720a4d216
@ -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"
|
||||
|
@ -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
4
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).
|
||||
|
Loading…
x
Reference in New Issue
Block a user