Added complete for sudo command. Fixed spelling. Added ... .... ..... and so on functions

This commit is contained in:
Austen Adler 2014-06-22 20:15:50 -04:00
parent dea825b486
commit 8f9463e9e5

10
bashrc
View File

@ -109,6 +109,7 @@ function tsh(){
export PATH=/home/stonewareslord/.autojump/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/stonewareslord/tmp/ucpp/ucpp/:/home/stonewareslord/tmp/ucpp/ucpp/:/home/stonewareslord/hitchhikers/bin/ucpp/ucpp:/home/stonewareslord/hitchhikers/bin/ucpp/ucpp export PATH=/home/stonewareslord/.autojump/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/stonewareslord/tmp/ucpp/ucpp/:/home/stonewareslord/tmp/ucpp/ucpp/:/home/stonewareslord/hitchhikers/bin/ucpp/ucpp:/home/stonewareslord/hitchhikers/bin/ucpp/ucpp
alias frcbot='python build' alias frcbot='python build'
complete -cf sudo man
@ -152,6 +153,13 @@ alias update='sudo apt-get update'
alias upgrade='sudo apt-get upgrade' alias upgrade='sudo apt-get upgrade'
alias autoremove='sudo apt-get autoremove' alias autoremove='sudo apt-get autoremove'
alias ..='cl ..' alias ..='cl ..'
alias ...='cl ../..'
alias ....='cl ../../..'
alias .....='cl ../../../..'
alias ......='cl ../../../../..'
alias .......='cl ../../../../../..'
alias ........='cl ../../../../../../..'
alias .........='cl ../../../../../../../..'
alias ytdl="youtube-dl $@ -x --audio-format mp3 --audio-quality 0 -c -o '%(title)s.%(ext)s'" alias ytdl="youtube-dl $@ -x --audio-format mp3 --audio-quality 0 -c -o '%(title)s.%(ext)s'"
alias tux="tmux a||tmux" alias tux="tmux a||tmux"
alias rmgit="git remote rm origin;git remote rm https;git remote rm oOrigin;git remote rm oHttps" alias rmgit="git remote rm origin;git remote rm https;git remote rm oOrigin;git remote rm oHttps"
@ -160,7 +168,7 @@ alias rmgit="git remote rm origin;git remote rm https;git remote rm oOrigin;git
#Functios #Functions
extract () { extract () {
if [ -f $1 ] ; then if [ -f $1 ] ; then
case $1 in case $1 in