diff --git a/.aliases b/.aliases index ee7d633..631f224 100644 --- a/.aliases +++ b/.aliases @@ -1 +1,10 @@ alias o="evince" + +alias pro="cd ~/Documents/Projects" +alias doc="cd ~/Documents" + + +export templates_dir="~/Documents/Projects/templates" +alias new.td='copier "$templates_dir/latex/td.template"' +alias new.cm='copier "$templates_dir/latex/cm.template"' + diff --git a/.gitconfig b/.gitconfig index 8a3f4e2..2a629eb 100644 --- a/.gitconfig +++ b/.gitconfig @@ -3,3 +3,5 @@ email = samuel.ortion@orange.fr [core] editor = vim +[init] + defaultBranch = main diff --git a/.loadenv.sh b/.loadenv.sh index 91169a0..082cd3e 100644 --- a/.loadenv.sh +++ b/.loadenv.sh @@ -12,6 +12,9 @@ export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion -PATH=$PATH:$HOME/.local/bin:$HOME/bin +# Quarto install +PATH="$PATH:/opt/quarto/quarto-1.2.335/bin" -export PATH \ No newline at end of file +PATH="$PATH:$HOME/.local/bin:$HOME/bin" + +export PATH diff --git a/.vimrc b/.vimrc index 5c70faf..85e61e5 100644 --- a/.vimrc +++ b/.vimrc @@ -1,4 +1,4 @@ -" My Own vimrc +" My Own vimrc" set nocompatible filetype on @@ -13,8 +13,6 @@ set number set cursorline -" set cursorcolumn - set tabstop=4 set expandtab diff --git a/.zshrc b/.zshrc index 27c4aba..e8aa75c 100644 --- a/.zshrc +++ b/.zshrc @@ -4,14 +4,22 @@ source ~/.aliases source ~/.dotfiles/antigen/antigen.zsh +source ~/.loadenv.sh + antigen use oh-my-zsh -# antigen bundle nojhan/liquidprompt +antigen bundle nerdfonts -antigen theme ys +antigen bundle nojhan/liquidprompt + +# antigen theme ys antigen bundle zsh-users/zsh-syntax-highlighting antigen bundle git antigen apply + +source ~/.antigen/bundles/nojhan/lp-dotmatrix/presets/variant-slant.conf + +source ~/.antigen/bundles/nojhan/lp-dotmatrix/dotmatrix.theme && lp_theme dotmatrix diff --git a/Makefile b/Makefile index 1d6b580..120dd15 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ all: pull install pull: git pull -install: antigen source +install: antigen source dotmatrix source: cp ~/.dotfiles/.aliases ~/.aliases @@ -13,4 +13,8 @@ source: cp ~/.dotfiles/.gitconfig ~/.gitconfig antigen: - git clone https://github.com/zsh-users/antigen.git \ No newline at end of file + git clone https://github.com/zsh-users/antigen.git + + +dotmatrix: + git clone git@github.com:nojhan/lp-dotmatrix.git ~/.antigen/bundles/nojhan/lp-dotmatrix \ No newline at end of file