Update before I get fish and chips

This commit is contained in:
Samuel Ortion 2023-07-02 15:53:35 +02:00
parent a057882406
commit feac44c86e
4 changed files with 16 additions and 10 deletions

View File

@ -1,4 +1,6 @@
alias o="evince" alias o="evince2"
alias vim="nvim"
alias pro="cd ~/Documents/Projects" alias pro="cd ~/Documents/Projects"
alias doc="cd ~/Documents" alias doc="cd ~/Documents"
@ -7,4 +9,12 @@ alias doc="cd ~/Documents"
export templates_dir="~/Documents/Projects/templates" export templates_dir="~/Documents/Projects/templates"
alias new.td='copier "$templates_dir/latex/td.template"' alias new.td='copier "$templates_dir/latex/td.template"'
alias new.cm='copier "$templates_dir/latex/cm.template"' alias new.cm='copier "$templates_dir/latex/cm.template"'
alias new.letter='copier "$templates_dir/latex/letter.template"'
alias taquin.sync="rsync -azvu '/home/sortion/Documents/cours/licence/L3/S6/intelligence artificielle/DM/DM2/taquin/' leon.talpa:/home/sortion/Documents/Projects/taquin/ && rsync -azvu leon.talpa:/home/sortion/Documents/Projects/taquin/ '/home/sortion/Documents/cours/licence/L3/S6/intelligence artificielle/DM/DM2/taquin/'"
pdfcompress () {
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dPDFSETTINGS=/screen -dEmbedAllFonts=true -dSubsetFonts=true -dColorImageDownsampleType=/Bicubic -dColorImageResolution=144 -dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=144 -dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=144 -sOutputFile="$2" "$1";
}
colorinvert() { convert "$1" -channel RGB -negate "$(echo $1 | sed 's/\./-inv\./')"
}

View File

@ -3,8 +3,8 @@
. '\'\PassOptionsToPackage{outputdir={%Y}}{minted}\input{%S}\'' . '\'\PassOptionsToPackage{outputdir={%Y}}{minted}\input{%S}\''
); );
$pdflatex = 'lualatex -shell-escape -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=build %O %S'; $pdflatex = 'lualatex -shell-escape -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=build %O %S | texlogsieve';
$out_dir = 'build'; $aux_dir = 'build';
$bibtex_use = 2; $bibtex_use = 2;
# Amend cleaned extensions # Amend cleaned extensions
$clean_ext .= " fdb_latexmk run.xml synctex.gz"; $clean_ext .= " fdb_latexmk run.xml synctex.gz";

8
.zshrc
View File

@ -10,8 +10,6 @@ antigen use oh-my-zsh
antigen bundle nerdfonts antigen bundle nerdfonts
# antigen bundle nojhan/liquidprompt
antigen theme ys antigen theme ys
antigen bundle zsh-users/zsh-syntax-highlighting antigen bundle zsh-users/zsh-syntax-highlighting
@ -20,6 +18,6 @@ antigen bundle git
antigen apply antigen apply
# source ~/.antigen/bundles/nojhan/lp-dotmatrix/presets/variant-slant.conf if [[ -x /usr/bin/fortune ]]; then
fortune
# source ~/.antigen/bundles/nojhan/lp-dotmatrix/dotmatrix.theme && lp_theme dotmatrix fi

View File

@ -17,5 +17,3 @@ antigen:
git clone https://github.com/zsh-users/antigen.git git clone https://github.com/zsh-users/antigen.git
dotmatrix:
git clone git@github.com:nojhan/lp-dotmatrix.git ~/.antigen/bundles/nojhan/lp-dotmatrix