Emacs: snippets fixes.

Homeinit: override links.
Shell: PATH back to default.
Git: using push.default simple.
master
Ambrevar 2012-10-24 16:20:16 +02:00
parent 5dd8aaae43
commit 9d3c40204e
20 changed files with 18 additions and 15 deletions

View File

@ -1 +1 @@
common
tex-mode

View File

@ -13,8 +13,8 @@
\DeclareUnicodeCharacter{00BB}{\fg{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{Title}
\author{\textsc{P.~Neidhardt}}
\title{${1:Title}}
\author{${2:\textsc{P.~Neidhardt}}}
%%=============================================================================
@ -99,6 +99,8 @@
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\maketitle
\vfill
\thispagestyle{empty}
\tableofcontents
$0

View File

@ -1 +1 @@
common
text-mode

View File

@ -4,6 +4,6 @@
# group: math
# name : \begin{array} ... \end{array}
# --
\begin{array}{${1:format}}
$$\begin{array}{${1:format}}
$0
\end{array}
\end{array}$$

View File

@ -68,9 +68,9 @@
(font-lock-add-keywords
mode
'(
("[^[:digit:][:space:]][[:space:]]*\\(-\\)[[:digit:]]+" 1 font-lock-constant-face)
("\\(0x[[:digit:]a-fA-F]+\\)[^[:alnum:]_]" 1 font-lock-constant-face)
("[^[:alnum:]_]\\([[:digit:]]*\\.?[[:digit:]]+\\)[^[:alnum:]_.]" 1 font-lock-constant-face)
;; ("[^[:digit:][:space:]][[:space:]]*\\(-\\)[[:digit:]]+" 1 font-lock-constant-face)
;; ("\\(0x[[:digit:]a-fA-F]+\\)[^[:alnum:]_]" 1 font-lock-constant-face)
;; ("[^[:alnum:]_]\\([[:digit:]]*\\.?[[:digit:]]+\\)[^[:alnum:]_.]" 1 font-lock-constant-face)
("\\<\\(FIXME\\):" 1 font-lock-warning-face prepend)
("\\<\\(TODO\\):" 1 font-lock-warning-face prepend)
("\\<\\(WARNING\\):" 1 font-lock-warning-face prepend)

View File

@ -6,3 +6,5 @@
[alias]
s = status -uno
c = commit -a
[push]
default = simple

View File

@ -19,13 +19,13 @@ SOURCEDIR="${HOME}/personal/dataperso"
## Mutt
echo "==> Mutt"
[ ! -e ~/.mutt ] && ln -s "$(realpath ${SOURCEDIR}/MAILS)" "${HOME}/.mutt"
ln -sf "$(realpath ${SOURCEDIR}/MAILS)" "${HOME}/.mutt"
mkdir -p "${HOME}/.mutt.d/hcache"
echo
## Taskwarrior
echo "==> Taskwarrior"
[ ! -e ~/.task ] && ln -s "${SOURCEDIR}/TODO" "${HOME}/.task"
ln -sf "${SOURCEDIR}/TODO" "${HOME}/.task"
echo
## Awesome
@ -65,8 +65,7 @@ wget https://easylist-downloads.adblockplus.org/easylist.txt \
# https://indonesianadblockrules.googlecode.com/hg/subscriptions/abpindo.txt # AB Pindo (Indonesian)
## Bookmarks
ln -s "${SOURCEDIR}/BOOKMARKS/bookmarks.db" "$XDG_DATA_HOME/luakit/bookmarks.db"
ln -s "${SOURCEDIR}/BOOKMARKS/quickmarks" "$XDG_DATA_HOME/luakit/quickmarks"
ln -sf "${SOURCEDIR}/BOOKMARKS/bookmarks.db" "$XDG_DATA_HOME/luakit/bookmarks.db"
ln -sf "${SOURCEDIR}/BOOKMARKS/quickmarks" "$XDG_DATA_HOME/luakit/quickmarks"
echo

View File

@ -9,7 +9,7 @@
umask 027
## Path
export PATH=.:$PATH
# export PATH=.:$PATH
## TeXlive
TEXDIR="${TEXDIR:-/usr/local/texlive}"