summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/genSkelTar.sh5
-rw-r--r--skel/.zshrc.local49
-rwxr-xr-xsrc/vim-latex.sh (renamed from bin/genVimLatex.sh)2
3 files changed, 7 insertions, 49 deletions
diff --git a/bin/genSkelTar.sh b/bin/genSkelTar.sh
index bee21c3..f6f7ada 100755
--- a/bin/genSkelTar.sh
+++ b/bin/genSkelTar.sh
@@ -10,7 +10,10 @@ rm -rf gen
mkdir gen
# generate files in 'gen'
-bin/genVimLatex.sh >/dev/null
+ls -1 src/*.sh | while read file
+do
+ $file >/dev/null
+done
# pack files to skel.tar
tar -cf skel.tar skel
diff --git a/skel/.zshrc.local b/skel/.zshrc.local
index d93d182..7fb41e5 100644
--- a/skel/.zshrc.local
+++ b/skel/.zshrc.local
@@ -33,53 +33,9 @@ PATH="${PATH}:${HOME}/bin"
export EDITOR="vim -p"
export BROWSER="links"
-# Set up auto extension stuff
-# Filetype execute: Internet
-alias -s html=$BROWSER
-alias -s org=$BROWSER
-alias -s php=$BROWSER
-alias -s com=$BROWSER
-alias -s net=$BROWSER
-
-# Filetype execute: Textfile
-alias -s java=$EDITOR
-alias -s txt=$EDITOR
-alias -s PKGBUILD=$EDITOR
-
-# Filetype execute: Document
-alias -s pdf=okular
-alias -s sxw=soffice
-alias -s doc=soffice
-
-# Filetype execute: Archive
-alias -s gz=tar -xzvf
-alias -s bz2=tar -xjvf
-
-# Filetype execute: Image
-alias -s jpg=display
-alias -s jpeg=display
-alias -s png=display
-alias -s gif=display
-
-# Filetype execute: Video / Audio
-alias -s ogg=mplayer
-alias -s flac=mplayer
-alias -s wav=mplayer
-alias -s wmv=mplayer
-alias -s mpg=mplayer
-alias -s mp3=mplayer
-alias -s avi=mplayer
-alias -s mkv=mplayer
-
-# command L equivalent to command |less
-alias -g L='|less'
-
-# command S equivalent to command &> /dev/null &
+# command B equivalent to command &> /dev/null &
alias -g B='&> /dev/null &'
-export MPD_HOST=::1
-export MPD_PORT=6666
-
export PYTHONSTARTUP=~/.pythonrc
export BATTERY=0
@@ -94,14 +50,13 @@ alias cp="cp -i"
alias nano="nano -w"
#alias ls="ls --color=auto"
alias snownews="snownews -u"
-alias res="xrandr -s 1280x800"
alias sc="import -window root -display :0"
alias whois="whois -H"
alias route6="route -Ainet6"
alias biew="TERM=vt100 biew"
alias pushd_list='pushd "$@"'
-alias xflux="/home/astra/git/f.lux/xflux -l 48.21 -g 16.37"
+#alias xflux="/home/astra/git/f.lux/xflux -l 48.21 -g 16.37"
# just press 'asdf' keys to toggle between dvorak and us keyboard layout
asdf() {
diff --git a/bin/genVimLatex.sh b/src/vim-latex.sh
index 846687f..4979e67 100755
--- a/bin/genVimLatex.sh
+++ b/src/vim-latex.sh
@@ -14,5 +14,5 @@ rm -rf $GENDIR/.vim
mv pkg/share/vim $GENDIR/.vim
mkdir -p $GENDIR/bin/
mv pkg/bin/* $GENDIR/bin/
-rmdir pkg/share pkg/bin
+rmdir pkg/share pkg/bin pkg