Merge branch 'master' of git://github.com/revans/bash-it
diff --git a/aliases/jekyll.aliases.bash b/aliases/jekyll.aliases.bash
index a5078e3..11922d6 100644
--- a/aliases/jekyll.aliases.bash
+++ b/aliases/jekyll.aliases.bash
@@ -1,27 +1,27 @@
-# Open the root of your site in your vim or cd to it
+# Open the root of your site in your vim or builtin cd to it
if [[ $EDITOR = "vim" ]]
-then alias newentry="cd $JEKYLL_LOCAL_ROOT && $EDITOR ."
-else alias newentry="cd $JEKYLL_LOCAL_ROOT"
+then alias newentry="builtin cd $JEKYLL_LOCAL_ROOT && $EDITOR ."
+else alias newentry="builtin cd $JEKYLL_LOCAL_ROOT"
fi
# Open the _posts/ directory for making a new blog post (seperate from above alias because not everyone uses jekyll for a blog)
# if [ $editor = "vim" ]
# then
-# alias newpost="cd $jekyll_local_root/_posts && $editor ."
+# alias newpost="builtin cd $jekyll_local_root/_posts && $editor ."
# else
-# alias newpost="cd $jekyll_local_root"
+# alias newpost="builtin cd $jekyll_local_root"
# fi
# Build and locally serve the site
-alias testsite="cd $JEKYLL_LOCAL_ROOT && jekyll --server --auto"
+alias testsite="builtin cd $JEKYLL_LOCAL_ROOT && jekyll --server --auto"
# Build but don't locally serve the site
-alias buildsite="cd $JEKYLL_LOCAL_ROOT && rm -rf _site/ && jekyll"
+alias buildsite="builtin cd $JEKYLL_LOCAL_ROOT && rm -rf _site/ && jekyll"
# Rsync the site to the remote server
-alias deploysite="cd $JEKYLL_LOCAL_ROOT && rsync -rz _site/ $JEKYLL_REMOTE_ROOT"
+alias deploysite="builtin cd $JEKYLL_LOCAL_ROOT && rsync -rz _site/ $JEKYLL_REMOTE_ROOT"
diff --git a/bash_it.sh b/bash_it.sh
index 2364d04..f0c850c 100644
--- a/bash_it.sh
+++ b/bash_it.sh
@@ -6,12 +6,9 @@
# Load the framework
-# Themes
-THEMES="${BASH}/themes/*.bash"
-for config_file in $THEMES
-do
- source $config_file
-done
+# Load colors first so they can be use in base theme
+source "${BASH}/themes/colors.theme.bash"
+source "${BASH}/themes/base.theme.bash"
# Library
LIB="${BASH}/lib/*.bash"
diff --git a/completion/brew.completion.bash b/completion/brew.completion.bash
index a0d9819..371fe77 100644
--- a/completion/brew.completion.bash
+++ b/completion/brew.completion.bash
@@ -1,4 +1,4 @@
-if [ `which brew` ]; then
+if which brew >/dev/null 2>&1; then
if [ -f `brew --prefix`/Library/Contributions/brew_bash_completion.sh ]; then
. `brew --prefix`/Library/Contributions/brew_bash_completion.sh
fi
diff --git a/plugins/base.plugin.bash b/plugins/base.plugin.bash
index 9eceaf9..9c8cb92 100644
--- a/plugins/base.plugin.bash
+++ b/plugins/base.plugin.bash
@@ -30,6 +30,10 @@
ri -T "${1}" | open -f -a $PREVIEW
}
+quiet() {
+ $* &> /dev/null &
+}
+
banish-cookies() {
rm -r ~/.macromedia ~/.adobe
ln -s /dev/null ~/.adobe
diff --git a/plugins/jekyll.plugins.bash b/plugins/jekyll.plugins.bash
index 1933f07..9b0d5c1 100644
--- a/plugins/jekyll.plugins.bash
+++ b/plugins/jekyll.plugins.bash
@@ -1,13 +1,55 @@
+#!/bin/bash
+
newpost() {
- # 'cd' into the local jekyll root
+ # 'builtin cd' into the local jekyll root
- cd "$JEKYLL_LOCAL_ROOT/_posts"
+ builtin cd "$JEKYLL_LOCAL_ROOT/_posts"
# Get the date for the new post's filename
FNAME_DATE=$(date "+%Y-%m-%d")
+ # If the user is using markdown formatting, let them choose what type of post they want. Sort of like Tumblr.
+
+ OPTIONS="Text Quote Image Audio Video"
+
+ if [ $JEKYLL_FORMATTING = "markdown" -o $JEKYLL_FORMATTING = "textile" ]
+ then
+ select OPTION in $OPTIONS
+ do
+ if [[ $OPTION = "Text" ]]
+ then
+ POST_TYPE="Text"
+ break
+ fi
+
+ if [[ $OPTION = "Quote" ]]
+ then
+ POST_TYPE="Quote"
+ break
+ fi
+
+ if [[ $OPTION = "Image" ]]
+ then
+ POST_TYPE="Image"
+ break
+ fi
+
+ if [[ $OPTION = "Audio" ]]
+ then
+ POST_TYPE="Audio"
+ break
+ fi
+
+ if [[ $OPTION = "Video" ]]
+ then
+ POST_TYPE="Video"
+ break
+ fi
+ done
+ fi
+
# Get the title for the new post
read -p "Enter title of the new post: " POST_TITLE
@@ -50,6 +92,68 @@
echo "---" >> $FNAME
echo >> $FNAME
+ # Generate template text based on the post type
+
+ if [[ $JEKYLL_FORMATTING = "markdown" ]]
+ then
+ if [[ $POST_TYPE = "Text" ]]
+ then
+ true
+ fi
+
+ if [[ $POST_TYPE = "Quote" ]]
+ then
+ echo "> Quote" >> $FNAME
+ echo >> $FNAME
+ echo "— Author" >> $FNAME
+ fi
+
+ if [[ $POST_TYPE = "Image" ]]
+ then
+ echo "" >> $FNAME
+ fi
+
+ if [[ $POST_TYPE = "Audio" ]]
+ then
+ echo "<html><audio src=\"/path/to/audio/file\" controls=\"controls\"></audio></html>" >> $FNAME
+ fi
+
+ if [[ $POST_TYPE = "Video" ]]
+ then
+ echo "<html><video src=\"/path/to/video\" controls=\"controls\"></video></html>" >> $FNAME
+ fi
+ fi
+
+ if [[ $JEKYLL_FORMATTING = "textile" ]]
+ then
+ if [[ $POST_TYPE = "Text" ]]
+ then
+ true
+ fi
+
+ if [[ $POST_TYPE = "Quote" ]]
+ then
+ echo "bq. Quote" >> $FNAME
+ echo >> $FNAME
+ echo "— Author" >> $FNAME
+ fi
+
+ if [[ $POST_TYPE = "Image" ]]
+ then
+ echo "!url(alt text)" >> $FNAME
+ fi
+
+ if [[ $POST_TYPE = "Audio" ]]
+ then
+ echo "<html><audio src=\"/path/to/audio/file\" controls=\"controls\"></audio></html>" >> $FNAME
+ fi
+
+ if [[ $POST_TYPE = "Video" ]]
+ then
+ echo "<html><video src=\"/path/to/video\" controls=\"controls\"></video></html>" >> $FNAME
+ fi
+ fi
+
# Open the file in your favorite editor
$EDITOR $FNAME
diff --git a/plugins/vagrant.plugins.bash b/plugins/vagrant.plugins.bash
new file mode 100644
index 0000000..17aff4e
--- /dev/null
+++ b/plugins/vagrant.plugins.bash
@@ -0,0 +1,50 @@
+#!/bin/bash
+_vagrant()
+{
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ prev="${COMP_WORDS[COMP_CWORD-1]}"
+ commands="box destroy halt help init package provision reload resume ssh ssh_config status suspend up version"
+
+ if [ $COMP_CWORD == 1 ]
+ then
+ COMPREPLY=($(compgen -W "${commands}" -- ${cur}))
+ return 0
+ fi
+
+ if [ $COMP_CWORD == 2 ]
+ then
+ case "$prev" in
+ "box")
+ box_commands="add help list remove repackage"
+ COMPREPLY=($(compgen -W "${box_commands}" -- ${cur}))
+ return 0
+ ;;
+ "help")
+ COMPREPLY=($(compgen -W "${commands}" -- ${cur}))
+ return 0
+ ;;
+ *)
+ ;;
+ esac
+ fi
+
+ if [ $COMP_CWORD == 3 ]
+ then
+ action="${COMP_WORDS[COMP_CWORD-2]}"
+ if [ $action == 'box' ]
+ then
+ case "$prev" in
+ "remove"|"repackage")
+ local box_list=$(find $HOME/.vagrant/boxes/* -maxdepth 0 -type d -printf '%f ')
+ COMPREPLY=($(compgen -W "${box_list}" -- ${cur}))
+ return 0
+ ;;
+ *)
+ ;;
+ esac
+ fi
+ fi
+
+}
+complete -F _vagrant vagrant
+
diff --git a/themes/base.theme.bash b/themes/base.theme.bash
index f898875..9ae5d0e 100644
--- a/themes/base.theme.bash
+++ b/themes/base.theme.bash
@@ -1,27 +1,82 @@
#!/bin/bash
-# Stolen from Steve Losh
-function prompt_char {
- git branch >/dev/null 2>/dev/null && echo -e '±' && return
- hg root >/dev/null 2>/dev/null && echo -e '☿' && return
- echo -e '○'
-}
+SCM_THEME_PROMPT_DIRTY=' ✗'
+SCM_THEME_PROMPT_CLEAN=' ✓'
+SCM_THEME_PROMPT_PREFIX=' |'
+SCM_THEME_PROMPT_SUFFIX='|'
-function parse_git_dirty {
- if [[ -n $(git status -s 2> /dev/null) ]]; then
- echo -e "$GIT_THEME_PROMPT_DIRTY"
- else
- echo -e "$GIT_THEME_PROMPT_CLEAN"
+GIT='git'
+SCM_GIT_CHAR='±'
+
+HG='hg'
+SCM_HG_CHAR='☿'
+
+SVN='svn'
+SCM_SVN_CHAR='⑆'
+
+SCM_NONE_CHAR='○'
+
+RVM_THEME_PROMPT_PREFIX=' |'
+RVM_THEME_PROMPT_SUFFIX='|'
+
+function scm {
+ if [[ -d .git ]]; then SCM=$GIT
+ elif [[ -d .hg ]]; then SCM=$HG
+ elif [[ -d .svn ]]; then SCM=$SVN
+ else SCM='NONE'
fi
}
-function git_prompt_info() {
- ref=$(git symbolic-ref HEAD 2> /dev/null) || return
- echo -e "$GIT_THEME_PROMPT_PREFIX${ref#refs/heads/}$(parse_git_dirty)$GIT_THEME_PROMPT_SUFFIX"
+function scm_char {
+ if [[ -z $SCM ]]; then scm; fi
+ [[ $SCM == $GIT ]] && echo $SCM_GIT_CHAR && return
+ [[ $SCM == $HG ]] && echo $SCM_HG_CHAR && return
+ [[ $SCM == $SVN ]] && echo $SCM_SVN_CHAR && return
+ echo $SCM_NONE_CHAR
}
+function scm_prompt_info {
+ if [[ -z $SCM ]]; then scm; fi
+ [[ $SCM == $GIT ]] && git_prompt_info && return
+ [[ $SCM == $HG ]] && hg_prompt_info && return
+ [[ $SCM == $SVN ]] && svn_prompt_info && return
+}
-function rvm_version_prompt() {
+# Stolen from Steve Losh
+# left in for backwards-compatibility
+function prompt_char {
+ char=$(scm_char);
+ echo -e "$char"
+}
+
+function git_prompt_info {
+ if [[ -n $(git status -s 2> /dev/null) ]]; then
+ state=${GIT_THEME_PROMPT_DIRTY:-$SCM_THEME_PROMPT_DIRTY}
+ else
+ state=${GIT_THEME_PROMPT_CLEAN:-$SCM_THEME_PROMPT_CLEAN}
+ fi
+ prefix=${GIT_THEME_PROMPT_PREFIX:-$SCM_THEME_PROMPT_PREFIX}
+ suffix=${GIT_THEME_PROMPT_SUFFIX:-$SCM_THEME_PROMPT_SUFFIX}
+ ref=$(git symbolic-ref HEAD 2> /dev/null) || return
+
+ echo -e "$prefix${ref#refs/heads/}$state$suffix"
+}
+
+function svn_prompt_info {
+ if [[ -n $(svn status 2> /dev/null) ]]; then
+ state=${SVN_THEME_PROMPT_DIRTY:-$SCM_THEME_PROMPT_DIRTY}
+ else
+ state=${SVN_THEME_PROMPT_CLEAN:-$SCM_THEME_PROMPT_CLEAN}
+ fi
+ prefix=${SVN_THEME_PROMPT_PREFIX:-$SCM_THEME_PROMPT_PREFIX}
+ suffix=${SVN_THEME_PROMPT_SUFFIX:-$SCM_THEME_PROMPT_SUFFIX}
+ ref=$(svn info 2> /dev/null | awk -F/ '/^URL:/ { for (i=0; i<=NF; i++) { if ($i == "branches" || $i == "tags" ) { print $(i+1); break }; if ($i == "trunk") { print $i; break } } }') || return
+
+ [[ -z $ref ]] && return
+ echo -e "$prefix$ref$state$suffix"
+}
+
+function rvm_version_prompt {
if which rvm &> /dev/null; then
rvm=$(rvm tools identifier) || return
echo -e "$RVM_THEME_PROMPT_PREFIX$rvm$RVM_THEME_PROMPT_SUFFIX"
diff --git a/themes/bobby/bobby.theme.bash b/themes/bobby/bobby.theme.bash
index 8eb50c5..e719995 100644
--- a/themes/bobby/bobby.theme.bash
+++ b/themes/bobby/bobby.theme.bash
@@ -1,6 +1,12 @@
#!/bin/bash
+SCM_THEME_PROMPT_DIRTY=" ${red}✗"
+SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓"
+SCM_THEME_PROMPT_PREFIX=" |"
+SCM_THEME_PROMPT_SUFFIX="${green}|"
-PROMPT="\[${bold_blue}\]\[\$(prompt_char)\]\[\$(git_prompt_info)\]\[${blue}\]\[\$(rvm_version_prompt) \]\[${orange}\]\h \[${reset_color}\]in \[${green}\]\w \[${reset_color}\]\[→ "
+
+PROMPT="\[${bold_blue}\]\[\$(scm_char)\]\[${green}\]\[\$(scm_prompt_info)\]\[${blue}\]\[\$(rvm_version_prompt)\] \[${orange}\]\h \[${reset_color}\]in \[${green}\]\w \[${reset_color}\]\[\n\[${green}\]→\[${reset_color}\] "
+
# git theming
GIT_THEME_PROMPT_DIRTY=" ${red}✗"
@@ -10,3 +16,4 @@
RVM_THEME_PROMPT_PREFIX=" |"
RVM_THEME_PROMPT_SUFFIX="|"
+
diff --git a/themes/candy/candy.theme.bash b/themes/candy/candy.theme.bash
index 7158a9e..ef0ba26 100644
--- a/themes/candy/candy.theme.bash
+++ b/themes/candy/candy.theme.bash
@@ -1,2 +1,2 @@
#!/bin/bash
-PROMPT="${green}\u@\h ${blue}\T ${reset_color}${white}\w${reset_color}\[\$(git_prompt_info)\]${blue} →${bold_blue} \$${reset_color} "
\ No newline at end of file
+PROMPT="${green}\u@\h ${blue}\T ${reset_color}${white}\w${reset_color}\[\$(scm_prompt_info)\]${blue} →${bold_blue} \$${reset_color} "
\ No newline at end of file
diff --git a/themes/clean/clean.theme.bash b/themes/clean/clean.theme.bash
index 88949fd..2fc418f 100644
--- a/themes/clean/clean.theme.bash
+++ b/themes/clean/clean.theme.bash
@@ -1,6 +1,6 @@
if [ "$(whoami)" = root ]; then no_color=$red; else no_color=$white; fi
-PROMPT="${no_color}\u${reset_color}:${blue}\W/${reset_color} \[\$(git_prompt_info)\]$ "
+PROMPT="${no_color}\u${reset_color}:${blue}\W/${reset_color} \[\$(scm_prompt_info)\]$ "
RPROMPT='[\t]'
diff --git a/themes/minimal/minimal.theme.bash b/themes/minimal/minimal.theme.bash
index e70165d..2f9b926 100644
--- a/themes/minimal/minimal.theme.bash
+++ b/themes/minimal/minimal.theme.bash
@@ -7,3 +7,5 @@
}
PROMPT_COMMAND=prompt_setter
+
+export PS3=">> "
diff --git a/themes/pete/pete.theme.bash b/themes/pete/pete.theme.bash
index 1f9b4fc..95f243a 100644
--- a/themes/pete/pete.theme.bash
+++ b/themes/pete/pete.theme.bash
@@ -5,16 +5,16 @@
history -a
history -c
history -r
- PS1="(\t) $(prompt_char) [\[$blue\]\u\[$reset_color\]@\[$green\]\H\[$reset_color\]] \[$yellow\]\w\[$reset_color\]$(git_prompt_info)$(rvm_version_prompt) $\[$reset_color\] "
+ PS1="(\t) $(scm_char) [\[$blue\]\u\[$reset_color\]@\[$green\]\H\[$reset_color\]] \[$yellow\]\w\[$reset_color\]$(scm_prompt_info)$(rvm_version_prompt) $\[$reset_color\] "
PS2='> '
PS4='+ '
}
PROMPT_COMMAND=prompt_setter
-GIT_THEME_PROMPT_DIRTY=" ✗"
-GIT_THEME_PROMPT_CLEAN=" ✓"
-GIT_THEME_PROMPT_PREFIX=" ("
-GIT_THEME_PROMPT_SUFFIX=")"
+SCM_THEME_PROMPT_DIRTY=" ✗"
+SCM_THEME_PROMPT_CLEAN=" ✓"
+SCM_THEME_PROMPT_PREFIX=" ("
+SCM_THEME_PROMPT_SUFFIX=")"
RVM_THEME_PROMPT_PREFIX=" ("
RVM_THEME_PROMPT_SUFFIX=")"
diff --git a/themes/simple/simple.theme.bash b/themes/simple/simple.theme.bash
index 5a8d5d9..2dcd7e7 100644
--- a/themes/simple/simple.theme.bash
+++ b/themes/simple/simple.theme.bash
@@ -11,16 +11,11 @@
TITLEBAR=""
;;
esac
-PROMPT="${TITLEBAR}${orange}${reset_color}${green}\w${bold_blue}\[\$(git_prompt_info)\]${reset_color} "
+PROMPT="${TITLEBAR}${orange}${reset_color}${green}\w${bold_blue}\[\$(scm_prompt_info)\]${reset_color} "
-# git themeing
-# GIT_THEME_PROMPT_DIRTY=" ${red}✗"
-# GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓"
-# GIT_THEME_PROMPT_PREFIX=" ${green}|"
-# GIT_THEME_PROMPT_SUFFIX="${green}|"
-
-GIT_THEME_PROMPT_DIRTY=" ✗"
-GIT_THEME_PROMPT_CLEAN=" ✓"
-GIT_THEME_PROMPT_PREFIX="("
-GIT_THEME_PROMPT_SUFFIX=")"
+# scm themeing
+SCM_THEME_PROMPT_DIRTY=" ✗"
+SCM_THEME_PROMPT_CLEAN=" ✓"
+SCM_THEME_PROMPT_PREFIX="("
+SCM_THEME_PROMPT_SUFFIX=")"
diff --git a/themes/standard/standard.theme.bash b/themes/standard/standard.theme.bash
index 61a9cbc..5ba288c 100644
--- a/themes/standard/standard.theme.bash
+++ b/themes/standard/standard.theme.bash
@@ -2,11 +2,11 @@
-# git themeing
-GIT_THEME_PROMPT_DIRTY="×"
-GIT_THEME_PROMPT_CLEAN="✓"
-GIT_THEME_PROMPT_PREFIX=""
-GIT_THEME_PROMPT_SUFFIX=""
+# scm themeing
+SCM_THEME_PROMPT_DIRTY="×"
+SCM_THEME_PROMPT_CLEAN="✓"
+SCM_THEME_PROMPT_PREFIX=""
+SCM_THEME_PROMPT_SUFFIX=""
# TODO: need a check for OS before adding this to the prompt
# ${debian_chroot:+($debian_chroot)}
diff --git a/themes/zitron/zitron.theme.bash b/themes/zitron/zitron.theme.bash
index 980b19a..c072686 100644
--- a/themes/zitron/zitron.theme.bash
+++ b/themes/zitron/zitron.theme.bash
@@ -17,4 +17,4 @@
## ls colors
# thanks a lot to http://geoff.greer.fm/lscolors/
export LSCOLORS="Gxfxcxdxbxegedabagacad"
-export LS_COLORS="no=00:fi=00:di=01;97:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;34:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
+export LS_COLORS="no=00:fi=00:di=01;33:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;34:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"